Does anyone know an easy way to remove trailing spaces from a string context variable? Perhaps there is a way to do this using regex?
Hi JoePao,
You can use RegEx here as you mentioned (the 'Evaluate Regular Expression' assertion),
ie: [ \t]+$
Here is a screenshot of my setup. The input variable (named 'spaces') contains several trailing white-space characters
Regards,
Joe
for any trailing white space, the regex could also be,
\s$
Mark