Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

RegEx Parse error

basubb
6 - Meteoroid

Which is this RegEx expression (that's validated on the approved resource page) not working with my Alteryx workflow.

 

RegEx = (?<=\>).*(?=\<)

 

String = <!-- 8 -->Load Transactions <button class="t-Button t-Button--noLabel t-Button--icon t-Button--simple t-Button--hot" 

 

I am trying to parse the value "Load Transactions " between > and <

 

Thanks

Basu

 

RegEx.PNG

 

 

AWF_regex_error.PNG

2 REPLIES 2
CoG
14 - Magnetar

I'm not sure why that would be the case (hopefully someone with more know-how and experience can provide input here), but here is a Regex that captures the desired information based on provided input:

>(.*)<

basubb
6 - Meteoroid

Thank you! It worked with a minor modification as >(.*?)< to stop parsing at the first occurrence of the ending limiter <

 

-Basu

Labels
Top Solution Authors