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

Removing text in () ina text string

BosKev
8 - Asteroid

Hi,

 

is there a way for me to remove all text within parenthesis () of a longer text string?

 

for example: SERVICE RENDERED: INITIAL: DEPENDENT VISA FOR DAUGHTER (xxxxx) (STAND ALONE) (xxxx) ;GOVERNMENT FEES PAID. HKD 000

 

text string length varies.

 

Thanks.

 

-KW

4 REPLIES 4
Garrett
11 - Bolide

How about some RegEx: \(.*?\)

 

RegEx.PNG

PeterGoldey
11 - Bolide

This can be done using the REGEX tool.

(yes, its hard to get the hang of the syntax - I struggle with it all the time).

 

Try this: \(.*\) as replace in the tool

 

(same solution just posted above)

danilang
19 - Altair
19 - Altair

Hi @BosKev 

 

Try

 

regex.png

 

 

Edit:  And another identical solution

 

Dan

BosKev
8 - Asteroid

Thanks all, Regex worked like a charm! was looking into fuzzy match - name match but that process was getting more complicated by the minute.

Labels