I wrote this regex expression to capture anything after "Comments" and now I want to stop reading once alteryx finds "https" for instance. I saw some topics about regex but I couldn't find a way to ask alteryx to stop reading as soon as it finds "https". Any ideas on how to achieve this?
Thanks.
Solved! Go to Solution.
Please ignore the "/webapp". It was just some testing I was doing
Hey @jackersantos ,
You can put everything you want between parenthesis.
(\W+Comments\D.+)?HTTP
Best,
Fernando Vizcaino
Hi @jackersantos,
You could use the following in parse mode in a Regex tool:
Comments(.*?)https
The brackets indicate a capture group and tell Alteryx to extract the part inside, the .*? is a non greedy wildcard expression which effectively means extract everything you can find up to the next iteration of https.
Kind regards,
Jonathan
Thank you very much!
No problem!
User | Count |
---|---|
19 | |
15 | |
13 | |
9 | |
8 |