ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Parsing number within words

swhitmeyer
8 - Asteroid

Hi,

 

I am looking to separate out any % within a field, see below.

 

D - JOINT AND 50% SURVIVOR         I would just want the 50

K - JOINT AND 75% SURVIVOR          I would just want the 75

6 - JOINT SURVIVOR POPUP 55%     I would just want the 55

 

Thank you,

Sonya

 

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @swhitmeyer you want to use the regex tool with this syntax (\d{2})

 

Regex_290819.PNG

Thableaus
17 - Castor
17 - Castor

Hi @swhitmeyer 

 

You could use REGEX in the Formula Tool.

 

REGEX_Replace([Field1], ".*?\b(\d.*)%.*", "$1")

 

Cheers,

swhitmeyer
8 - Asteroid

It was that simple, thank you!!

Labels
Top Solution Authors