Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

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
Top Solution Authors