community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
SOLVED

Regex Tool question

Highlighted
Atom

Hello Alteryx User,

 

I would like to parse out the number 50 from "P14 - XFR CLAIM FROM PATIENT TYPE 50" or parse out the number 40 from "D70 - XFR CLAIM FROM PATIENT TYPE 40"  what is the expression for that?

 

thank you 

@PengJia  A formula like this seems to work on your test data (assuming you want digits at the end of the string)

REGEX_Replace([Field1],".*?(\d+)$","$1")
Atom

Thank you very much, it work perfectly.

 

 

Labels