Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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