We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

RegEx to flag word starting with 8

fnkankeu
7 - Meteor

Hi,

 

I want to create a RegEx that flag the cell that have a word starting with 8.

I tried the RegEx below with the RegEx Tool but none of them seems to work.

- \<8

- ^8

 

Please help me.

 

Thanks

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @fnkankeu if you just want to create a flag based on what the code starts with, there's no need for RegEx! Can just use something like the following:

 

DataNath_0-1669906759339.png

 

StartsWith(ToString([Code]), '8')

 

Chucking in an edit here, just in case you're insistent on RegEx (or to just illustrate how if you're still curious). You could just change the expression to something like the following:

 

DataNath_0-1669906979325.png

 

^8.*

 

Labels
Top Solution Authors