Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Including Double and Single quotes in Regex_Match

Kaisa77
6 - Meteoroid

Hello, I'm trying to find special characters in the field using Regex_Match. I need to check double and single quotes as well, but I can't figure out the format to include them. 

Here's my formula:

REGEX_Match([ALL], ".*[\@!#%^*?$~+&].*")

 

This is what I want:
REGEX_Match([ALL], ".*[\@!#%^*?$~+&"'].*") i.e. add checks for " and ' as well. 

I tried using """ for " as well as ' " ' and many other combinations, but nothing works. 

Please help :)

10 REPLIES 10
OllieClarke
16 - Nebula
16 - Nebula

@Kaisa77 

You can just use a contains([field],’”’) to see if there’s a double quote in there

Labels
Top Solution Authors