Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
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