In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Teg ex expression

JBATAIDE
7 - Meteor

Hi,

 

What would be the expression for extracting parts of the string text between the first and the last character, in this case '_'?

 

I have entered the following expression but it is capturing the text between the first two

 

\_(.*?)\_

 

Data:

//text_A_B_C_text

 

It is coming back with A but I would need it to come back with 'A_B_C'

 

Thank you very much,

 

Joao

1 REPLY 1
OllieClarke
16 - Nebula
16 - Nebula

Almost there @JBATAIDE try this instead:
_(.*)_

 

Ollie

Labels
Top Solution Authors