Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Regex Help

BS_THE_ANALYST
15 - Aurora
15 - Aurora

Film data:

Marvel Comics Presents (1988) #125

Spider-Man Legends Vol. II: Todd Mcfarlane Book I (Trade Paperback)

Spider-Man Legends Vol. II: Todd Mcfarlane Book I

Spider-Man Legends Vol. II: Todd Mcfarlane Book I (1998)

Marvel Comics Presents #125

 

Expected output:

BS_THE_ANALYST_2-1674247549830.png

I can see how to group it, but can't seem the REGEX it 😂..

 

Thanks in advance!

All the best,
BS

LinkedIN

Bulien
5 REPLIES 5
binu_acs
21 - Polaris

@BS_THE_ANALYST One way of doing this with the Regex Tokenize method

 

binuacs_0-1674249656719.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

Thanks @binu_acs . I rarely use the Tokenize method! 

 

Do you know if it's possible to do this with the Parse method?

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@binu_acs Parse method 

^(.*?)(?:\((\d{4})\))?(\s+#\d+)?$

BS_THE_ANALYST_0-1674252746168.png

 

All the best,
BS

LinkedIN

Bulien
binu_acs
21 - Polaris

@BS_THE_ANALYST That is nice, I was scratching my head 😀

binu_acs
21 - Polaris

@BS_THE_ANALYST you can also mark your solution.

Labels
Top Solution Authors