Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Extracting data from substring

SCK
8 - Asteroid

Hi All. I need help from extracting only numeric values from the beginning of a substring, if any. My input and desired output looks like this:

 

Input:

 

Account
1000 cash
2000 AR
Trade receivable
Trade Payable
5000 Suspense
6000 COGS

 

Desired Output

 

Account1Account2
1000cash
2000AR
 Trade receivable
 Trade Payable
5000Suspense
6000COGS

 

Please help.

5 REPLIES 5
Emil_Kos
17 - Castor
17 - Castor

Hi @SCK,

 

I am not regex specialist but it looks like this could be achieved with data cleansing tool:

 

Emil_Kos_0-1603608326971.png

 

 

Output:

 

Emil_Kos_1-1603608337438.png

If this was something helpful please mark as a solution!

 

Good luck!

atcodedog05
22 - Nova
22 - Nova

Hi @SCK 

 

Here is a workflow for the task.

 

Output:

atcodedog05_0-1603608806697.png

Workflow:

atcodedog05_1-1603608830099.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

 

SCK
8 - Asteroid

Both worked perfectly well. Thank you for the help. 🙂 🙂

Emil_Kos
17 - Castor
17 - Castor

Hi @SCK,

 

Thank you for marking my post as a solution!

 

Good luck!

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @SCK 

 

Cheers and Happy Analyzing 😀

Labels