Alteryx Designer Desktop Discussions

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

Regex Tool question

PengJia
5 - 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 

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

@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")
PengJia
5 - Atom

Thank you very much, it work perfectly.

 

 

Labels