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

Parsing with Regex and ( in data

TravisJWhite
7 - Meteor

Hello All,

 

I'm back with another Regex issue.  This time I need to figure out how to parse data out from between ( & ).  Parentheses seem to be special characters in Regex parsing and I cannot for the life of me construct a statement that will allow for extraction of data within them.

 

Example data: words words words words (important data)

 

 

Could someone please lay some knowledge on this hapless newbie?

 

Cheers

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

You need to escape out the (,) with a \. So using a REGEX tool in parse the regular expression is:

 

\((.*)\)

 

The part between the brackets will be parsed into a new field.

TravisJWhite
7 - Meteor

Thank you so much - worked like a charm!

 

Cheers!

Labels
Top Solution Authors