Trying to remove extra spaces using pattern matching. Wondering if anyone could help me out!
Example:
"Hi buddy what's up bro"
to
"Hi buddy what's up bro"
Thanks in advance!
Trying to remove extra spaces using pattern matching. Wondering if anyone could help me out!
Example:
"Hi buddy what's up bro"
to
"Hi buddy what's up bro"
Thanks in advance!
Not sure about a regular expression, but the Token Editor functions are what I typically use. If you Split on one blank space, remove all empty items, then rejoin them on a blank space it should do what you want.
The formatted token would look like %(TokenName#@Split( );RemoveEmptyItems@##[ ]#)
Thank you! But it looks like there are also line breaks "/n" in the string as well.
yes
Try adding a "Trim" function in between the Split and the Remove Empty Items
worked... thanks Jason!
Would anyone know how to remove all of the blank spaces from an email address? When we perform the OCR, spaces are being added within the email address which results in an invalid email address. I have tried some of the options listed in this thread but couldn't get my desired result.