We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Data trans for mation using Regex_Replace formula

RajatRehria
8 - Asteroid

Hi all,

 

Please help me if there is a way to get the desired output using Regex_Replace formula

 

Input: Investments, at fair value (cost of $12,123) $ 25,01,345

 

Desired Output: (cost of $12,123)

1 REPLY 1
Rags1982
10 - Fireball

Hi @RajatRehria ,

Try this

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

Labels
Top Solution Authors