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

Regex to extract

vvissamsetty
8 - Asteroid

Hi Guys,

I'm very new to Regex and trying to extract the Month and the number from a huge data which looks like this 

C/OGBPS STOBB 50 PR INDEX OCT20 3545

C/O A B 500 INDE DEC 2300.00

P/O A B 500 INDE JAN 2335.00

C/O A B 500 INDE AUG 2925.00

 

So basically, I want everything with date into one column and the last column of numbers into one column. Can some one help me with this?

Thank you

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @vvissamsetty 

 

This might simple but if your data goes in this pattern it works well.

 

simpleparse.PNG

 

Parse Method with Regex Tool

 

.*\s(.*?)\s(.*)$

 

Cheers,

vvissamsetty
8 - Asteroid

Thanks @Thableaus.

Labels
Top Solution Authors