Alteryx Designer Desktop Discussions

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

Alteryx REGEX_Replace Function: Accept literal character " ?

Billbisco
7 - Meteor

I'm trying to use REGEX_Replace  to turn instances of   "   into  "

 

Unfortunately the Syntax for REGEX_Replace requires you to put your answer into quotes

 

None of the below work

 

REGEX_Replace([High Level Project Description], "(")", " " ")  
REGEX_Replace([High Level Project Description], "(")", " \" ")  
REGEX_Replace([High Level Project Description], "(")", " ' " ' ")  

Is there anyway to make this work with the Formula Tool or will I have to use something else?

3 REPLIES 3
Kenda
16 - Nebula
16 - Nebula

Hey @Billbisco! Try this:

REGEX_Replace([High Level Project Description], """, '"')
NicoleJohnson
ACE Emeritus
ACE Emeritus

Try using single quotes instead - these work interchangeably with double quotes for the purposes of identifying text or for use in formulas, etc. and are helpful when you need to include either single quotes or double quotes in a string of text.

 

REGEX_Replace([High Level Project Description], '(")','"')  

Hope that helps!

 

Cheers,

NJ 

Billbisco
7 - Meteor

Thank you both.  This was great!

Labels