I tried this but it doesn\'t work :
[^\\s-]
Any Ideas?
It can be done much easier:
\S which equals [^ \t\r\n\v\f]
\S
[^ \t\r\n\v\f]