Hi Everyone,
I am unable to use the regex for multiline text file. I read the values as a single text and using UTR-8 and after reading the text file data , it is coming multiple lines in a PA Variable . need to find the vAPI_USE_HOST data from text file and once found we need to take entire row. but i used the below regex but unable to find find the match
regex is : (vAPI_USE_HOST=.*$/gm)
vAPI_DEV_Host=https://
vAPI_PROD_Host=https://
vAPI_USE_HOST=https://
vAPI PROD_Host=http://
Solved! Go to Solution.
This will extract the whole line.
(vAPI_USE_HOST).*
thanks a lot. it's working fine. i have one more question. can i extract only web url instead of whole line. need only content after matching " https:// ". is there any way?? . thanks in advance
(?<=vAPI_USE_HOST=).*
Thanks. Its worked Perfectly