Hi All,
I'd like to request your support to understand what's wrong with the way I'm using the RegEx tool. I'm tring to find the leading, trailing and double or more spaces in a string. I've tested the regular expressions and seems to be working fine but, these does not work in Alteryx.
Best!
Solved! Go to Solution.
Hi @garaya ,
one of the cool thing about Alteryx is simplifying everything. You don't need complicated RegEx for this, just use the Data Cleansing Tool:
Best regards
Phil
Hi Phil,
Thanks, I know the Data cleansing tool can help me to remove the whitespaces. However, in this case I just need to pin point the errors, is more related to metrics.
Best regards,
Gustavo
The match function is comparing the whole string so try:
Leading: ^\s+.*
Trailing: .*\s+$
Contains: .*\s{2,}.*
Thanks! this works!
Thanks this works!
You answered exactly as I was about to do the same.
Cheers,
Mark