Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Split string using regex, help please

ShaneWang2018
6 - Meteoroid

Hi, 

 

I have a long string contain various values and I only need 2 key value listed below.

 

MailID=8466609a-57e8-45d7-b831-734f9217b3bb&=test@sample.com&

 

Expected Outcome to be in two columns 

MailIDEmai
8466609a-57e8-45d7-b831-734f9217b3bbtest@sample.com

 

Do I need to use text to column and regex?

 

Many thanks

1 REPLY 1
jamielaird
14 - Magnetar

Hi @ShaneWang2018,

 

RegEx is your friend here:

 

MailID=(.*)&=(.*)&

regex.png

Labels