Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
AsmJuv2004
Contributor III
Contributor III

Get only uncommented lines from app load script into automation

Hi,

I was wondering if I can pull only the uncommented lines in a load script of a Qlik app into my automation. Any help would be appreciated.

Labels (4)
1 Reply
Shai_E
Support
Support

Hi @AsmJuv2004 

You can use the Get Load Script block and feed the response from it into the regex replace formula.
For a regex you could test the following: /[^a-zA-Z ]/g

Its supposed to remove all special characters in a string, although im not sure if this is the exact regex you are looking for, you might need to tweak it, then you can replace each occurrence of the regex expression in the string with a replacement. 

Best Regards