Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Combining multiple columns (Post Reg-EX) into respective columns?

shong
7 - Meteor

Hello,

 

In my first column, I have varied ways of how an "ID" was entered (with spaces, without space, etc.). I used a RegEX to parse it out but it came out to be 4 different columns. I would like to merge The RegEXOut3 and RegEXOut4  into RegEXOut1 and RegEXOut2, respectively.

 

I tried using the transpose tool, but it was not returning the intended results.

 

Thanks for any insights!

 

Alteryx - Combine Columns.JPG

 

Alteryx - Combine Columns 2.JPG

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus
Try:
(\w\w\)s*-\s*(\d+)

Use it in a regex tool to parse your input.

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
shong
7 - Meteor

Thanks Mark!

 

I slightly modified the formula you provided: (\w\w)*\s*-*\s*(\d+) and it worked!

Labels
Top Solution Authors