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.
SOLUCIONADO

Regex in Alteryx

noopurjain
Asteroide

Hello,

 

I am struggling to exact red highlighted text from below records. Can anyone please help me with this?

 

 

HP102 OC12 TACMGAFAKAO TACMWS68HAA

105 T3 TACMDAFAK31 TACMLA68HAA

1011 OC03 OLYMWAFQH07 OLYMNA02KAG

HP104OC03AUSRCOXWH01 DNTRCOSL

152 T1ZF BLDRCOKCJAA DNVRLOMA

 



5 RESPOSTAS 5
Taylor_S
Asteroide

Hello! 

I am working to help provide a potential solution to your query but had one question. In 4 of 5 of your examples, the pattern seems to be a series of characters, followed by a space, another series of characters, space (all black), then another string of characters divided by space (red text). However, in the second to last example, this is not the case with the black and red sections being joined without spacing. Can you confirm that this is correct? 

 

Thanks! 

noopurjain
Asteroide

yes, that is correct.

noopurjain
Asteroide

only the fourth one missing the space before red text. 5th has the space.

 

Felipe_Ribeir0
Nebulosa

Hi @noopurjain 

 

You can use regex to extract this:

 

Felipe_Ribeir0_0-1672861545233.png

 

noopurjain
Asteroide

Thank you so much!

Rótulos
Autores com maior número de soluções