in reply to Re: Splitting a string into wordsin thread Splitting a string into words
(?:\s|$) works better than \s.
An other alternative is \b, which will chop after a word, but before punctuation.