The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
解決済み

How to use RegEx

phoebe_90
アステロイド

 

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

 

Text
ORA=cccca OBA
5件の返信5
ShankerV
キャスター

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 

binu_acs
ポラリス

@phoebe_90 One way of doing this

image.png

phoebe_90
アステロイド

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

binu_acs
ポラリス

@phoebe_90 Try 

 

Trim(REGEX_Replace([Text], 'ORA=(.*)OBA', '$1'))
ShankerV
キャスター

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

ラベル
トップのソリューション投稿者