Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to use RegEx

phoebe_90
8 - Asteroid

 

How can I use RegEx  to extract "cccca" out?

 

Text
ORA=cccca OBA
5 REPLIES 5
ShankerV
17 - Castor

Hi @phoebe_90 

 

One way of doing this.

 

 

Screenshot 2023-08-15 121137.jpg

.+=([a-z]{5}).+

 

Screenshot 2023-08-15 121248.jpg

 

Many thanks

Shanker V 

binuacs
21 - Polaris

@phoebe_90 One way of doing this

image.png

phoebe_90
8 - Asteroid

I want to extract the words in the middle of "ORA=" and" OBA". The words not always are "cccca".

binuacs
21 - Polaris

@phoebe_90 Try 

 

Trim(REGEX_Replace([Text], 'ORA=(.*)OBA', '$1'))
ShankerV
17 - Castor

Hi @phoebe_90 

 

One way of doing this.

 

 

Screenshot 2023-08-15 134724.jpg

 

ORA=(.+)OBA

 

Screenshot 2023-08-15 134808.jpg

 

Many thanks

Shanker V

Labels
Top Solution Authors