ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Regex parse for data within ( aaa)

mlozovskaya
8 - Asteroid

Looking for syntex to parse data from (aaa) to aaa, another example (2842hgd   )aaa to 2 columns with values: 2842hgd and aaa

2 REPLIES 2
CoG
14 - Magnetar

Could you just use the Text to Columns Tool? with '()' as the separator?

  • Output to Rows
  • Filter off Nulls
  • Cross Tab to get back to columns

2023-11-16_15-44_Splitting Data.png

flying008
15 - Aurora

Hi, @mlozovskaya 

 

Maybe this is your want  by Tokenize mode?

 

Spoiler
[[:alnum:]]+(?=\s*\)|$)

录制_2023_11_17_08_31_10_917.gif

 

BTW, If your string have space between front and back char in brackets like 『(abc 123)』, then the expression need to modify.

Labels
Top Solution Authors