Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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