Alteryx Designer Desktop Discussions

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

Regex Parsing strings that includes delimiter

nuclearpz86
6 - Meteoroid

hi 

I have a table with large number of rows that includes Employee Names, and Title. The value in the Title column may or may not include comma, comma is also being used as the delimiter, is there a way to parse this?

 

Title,Employee_Names
CSE I - OUTBOUND,PETER ZHAO
LOYALTY CARE REP,LILY LEE
CUSTOMER ACCOUNT SPC, MULTI,IRVIN HO

 

Desired output

TitleEmployee_Names
CSE I - OUTBOUNDPETER ZHAO
LOYALTY CARE REPLILY LEE
CUSTOMER ACCOUNT SPC, MULTIIRVIN HO
LOYALTY CARE REP,MULTILILLIAN WANG

 

To note, there may or may not be a space after the comma for Titles that include commas.

 

Thank you very much in advance

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @nuclearpz86 ,

 

Attached is an example showing how to get that done with regex.

 

Let me know if that works for you.

Best,

Fernando Vizcaino

nuclearpz86
6 - Meteoroid

Thank you so much! love the power of RegEx. 

Labels