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

Parse

Scheruku
8 - Asteroid

Hi,

 

We are trying to parse the below data and the the output required is the transaction ID's...I'm not sure how to use regex and achieve the below target.

 

TextOutput
SUKY --HWSC7E110- 930392071930392071
PURL - HWCD7E118 - NAGUR - 612304939612304939
SHUBHAM BANSAL -DLCC7W8 -101230577-DELHI101230577
KAR -HWCD7A3 -874090430-874090430
4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus
It looks like you are searching for a 9 digit number. Is that true?
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
MarqueeCrew
20 - Arcturus
20 - Arcturus

This video should help you learn how to find the text. 

 

https://youtu.be/pTZj2U2SDFA

 

cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Scheruku
8 - Asteroid

Hi

 

Thank you for the videos...they were helpful. I have used the below formula to get to the desired output after watching your videos.

 

However, there might be other efficient ways to get the result.

 

Right(REGEX_replace([Narration], "[-A-Z]",""),9)

MarqueeCrew
20 - Arcturus
20 - Arcturus
Regex_replace([narration],".*(\d{9}).*",'$1')

Might work too
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels