Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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