You are matching only space characters. bobf's version matches any white space characters (which includes spaces, tabs and various other characters including UNICODE white space characters).
In reply to Re^3: Pulling white space off before/after string?
by GrandFather
in thread Pulling white space off before/after string?
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |