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
20 - Arcturus

@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
20 - Arcturus

@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