ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.

Alteryx Designer Discussions

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

Text Analysis

bmillrine
8 - Asteroid

Hi all

 

I want to extract out certain information from the body of an email.

 

Text

 

Morning, Please can you Invoice the following days for WE 10 12 17 -  5 Days at a rate of £36 per hour

 

Output I would like

 

Weekending - 101217

Days - 5

Rate - 36

 

I can parse out numbers using RegEx but I need to know how to say:

 

Numbers appear after WE therefore these are the weekending numbers

5  appears before Days so associated with days

35 is next to £ therefore monetary

 

Thanks

 

andre347
10 - Fireball

See attached a solution. I used three Regex tools so it's easier to understand but it's possible to do this into one. Created in v11.7Screen Shot 2017-12-14 at 10.34.02.png

bmillrine
8 - Asteroid

Perfect! Thank you

Labels