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!