ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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 - Beginner

suby
11 - Bolide

Hi All,

 

Trying to remove all the characters(number : #) before the string in the name column and email column. Tried using the Data cleansing tool not bringing the desired result.

 

suby_0-1606238453830.png

 

Any help would be much appreciated

14 REPLIES 14
atcodedog05
22 - Nova
22 - Nova

Hi @suby 

 

So in "(.*)#(.*)", "$2"

(.*) - group before #, group 1

#(.*) - group after #, group 2

 

$2 keep only group 2.

suby
11 - Bolide

So in "(.*)#(.*)", "$2"

 

Name =  6567;#abc

 

(.*) - group before #, group 1  

On group 1 does it group  6567;

 

#(.*) - group after #, group 2

On group 2 does it group anything after the #

 

$2 keep only group 2.

atcodedog05
22 - Nova
22 - Nova

Yes thats absolutely right 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @suby 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

suby
11 - Bolide

Great thanks much appreciated.

Labels
Top Solution Authors