I think you want to change those \s to \S
\s matches whitespace, \S matches non-whitespace.
And you need a space behind the comma: "Hello there, neighbour". The $_ as you posted it won't match otherwise, even with \S
In reply to Re: Match non-whitespace characters
by erix
in thread Match non-whitespace characters
by biofeng918
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |