in reply to [untitled node, ID 150603]

>words surrounded by white space or by a punctuation mark or marks?

Just a note -- when is a punctuation mark not a punctuation mark?

It's useful to note what exactly \b means. If you have hyphenated words, for instance, like say one of the people involved is called Sara-Jane, then will it work?

--

($_='jjjuuusssttt annootthhrer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;