Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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
6 - Meteoroid

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

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