Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Reg Expression

akumar2609
8 - Asteroid

Need to pull only the total amount from the string through Reg expression tool. Please note that amount can be in negative also some time. 

Field_1
Total - 40120IC - I/Co FX Realised P&L           13,275,980.96
Total - 93500IC - I/Co FX Unrealised P&L          1,371,584.37

3 REPLIES 3
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@akumar2609 one way:

BS_THE_ANALYST_0-1678456623943.png

 

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@akumar2609 also, another method.

Logic: if we see 3 spaces or more, replace with an abitrary delimiter (let's choose ~)

Split the text apart by the new ~ delimiter:

BS_THE_ANALYST_0-1678456969688.png

 



All the best,
BS

LinkedIN

Bulien
akumar2609
8 - Asteroid

Thank you. It was helpful. 

Labels
Top Solution Authors