Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Regex Data extraction

silver0917
5 - Atom

Hi Folks,

 

I am trying to extract any number after the SR#, SR space, SR:. How can I use Regex tool to achieve this?

The SR # has a standard format, it's always starts with 1- and 11 digits. 

 

Thank you for your help! 

 

column 1column 2
SR# 1-421874206711-42187420671
 No SR # 
SR  1-42275807437,Sent for Manual screening1-42275807437
 No SR # 
5267895 , refer the (ICON SR: 1-42131314351)1-42131314351
3 REPLIES 3
binuacs
20 - Arcturus

@silver0917 One way of doing this with the Regex Tokenize method

 

binuacs_0-1657555695810.png

 

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @silver0917,

 

You could use a regex expression and a formula tool to convert missing values to "No SR#".

 

JonathanSherman_0-1657555769782.png

 

 

Attached an example workflow for you to look over!

 

Kind regards,

Jonathan

silver0917
5 - Atom

Thank you so much! 

Labels