In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

, Regex_Match in Data Base tools_SQL server

Hello all,

 

I am trying to use the "Regex_match"  function using a in DB tool (Filter or Formula). I use SQL server.  I used CHARINDEX but nothing. The below example is used in the Designer and it worked fine --> "!REGEX_Match([col1], '.+\d\d\d\d.+'). 

Any suggestions?

 

Thank you in advance. 

2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @Antonis_Choustoulakis ,

 

Can you try using a Filter In-DB tool and then select to apply a custom filter with the following expression:

 

 

"Name_of_column_you_need_to_filter" NOT  LIKE '%[0-9][0-9][0-9][0-9]%'

 

 

I think that should do it, please let me know if that worked for you.

 

Cheers,

 

Angelos

Hi @AngelosPachis,

 

Thank you for your comment and for the solution.  It worked. I had used the expression 'not like" but not with this regex function. 

 

Cheers,

 

Antonis

Labels
Top Solution Authors