In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Add space before bracket

HW1
9 - Comet

I have a column with names as  'BP Connect Ascot(WA)' and correctly as ''BP Bathurst (Stewart St)' 

I want them to be consistent with a space before the bracket like 'BP Connect Ascot (WA)' and ''BP Bathurst (Stewart St)' 

How can I do that?

Thanks

5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@HW1 

Like this?

CaptureV1.PNG

HW1
9 - Comet

That is not the solution I am looking for as I have 'BP Bathurst (Stewart St)' coming in correctly which will turn out to 'BP Bathurst  (Stewart St)' Which is not what I want.

MarqueeCrew
20 - Arcturus
20 - Arcturus

Regex_Replace([field],"(.*\S)(\(.*)",'$1 $2')

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
HW1
9 - Comet

It is doing nothing

Qiu
21 - Polaris
21 - Polaris

@HW1 
Sorry. I misunderstood. This should work.

CaptureV4.PNG

Labels
Top Solution Authors