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

Remove String In between special characters.

Ajith1
8 - Asteroid

I have an input like :

Ajith, Mr. Raja

Ram, Ms. Reddy
Raji, Miss. Jan

OutPut Like

AjithRaja

RamReddy
RajiJan

I need to Remove in between special characters Like, Mr. 
Is it possible? by using the Single Regex formula

2 REPLIES 2
marcusblackhill
12 - Quasar
12 - Quasar

Hey @Ajith1 !

 

Well, if you know all possible words between the first and last name, you can add in that formula:

REGEX_Replace([Field1], "Mr\.|Ms\.|Miss\.|Mister\.|,|\s+", "")

 

Look the attached example.

 

Hope that helps!

messi007
15 - Aurora
15 - Aurora

@Ajith1,

 

Please see below:

 

messi007_0-1608053849295.png

Attached the workflow,

 

Regards,

Labels
Top Solution Authors