Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Regex Formula

mcimperman
5 - Atom

I have a cell that contains the following text: Job PSF_AFBIIU. has failed with the completion code 1

I want the regex icon to spit out only: PSF_AFBIIU.

 

In other words I want to parse out "Job" and parse out "has failed with completion code 1".

 

Please note completion code number can differ.

1 REPLY 1
Thableaus
17 - Castor
17 - Castor

Hi @mcimperman 

 

Here's a solution:

 

REGEX_Replace([Field1], "^Job\s(.*?)\shas\sfail.*","$1")

 

Cheers,

Labels
Top Solution Authors