Alteryx Designer Desktop Discussions

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

Requesting help in building a Regex to match "ZYFCSFS674FF-1228837741-296"

Manjari
8 - Asteroid

Hi All,

 

Requesting help in building a regex to match "ZYFCSFS674FF-1228837741-296"

My Regex tool has "[a-zA-Z0-9]*[-][0-9]*[-][0-9]*" which does not work.

5 REPLIES 5
ydmuley
12 - Quasar
12 - Quasar

Hello @Manjari Looks like the expression that you have for RegEx is just fine.

 

You can use this website to experiment/test your parsing. Once you find the formula you can directly add to the RegEx tool.

 

https://regex101.com/

Regards,
Yugandhar Muley (Yug)

Alteryx ACE | Alteryx For Good India Lead | Bengaluru Alteryx User Group Lead
Manjari
8 - Asteroid

Hi @ydmuley,

 

The Regex works fine in the Regex tester, but fails in the alteryx Regex tool. I am not not why.

 

ydmuley
12 - Quasar
12 - Quasar

What output method have you selected? @Manjari Not sure if you tried Tokenize

Regards,
Yugandhar Muley (Yug)

Alteryx ACE | Alteryx For Good India Lead | Bengaluru Alteryx User Group Lead
Manjari
8 - Asteroid

Hi @ydmuley,

 

Tokenize option worked like a charm, thank you so much:)

ydmuley
12 - Quasar
12 - Quasar

@Manjari I am glad that it worked!

Regards,
Yugandhar Muley (Yug)

Alteryx ACE | Alteryx For Good India Lead | Bengaluru Alteryx User Group Lead
Labels