|Just another Perl shrine|
Re: splitting punctuation in a textby injunjoel (Priest)
|on Aug 11, 2008 at 16:59 UTC||Need Help??|
I would suggest using a word boundary \b. for instance...
Which produces what you want... well close. If you don't want the spaces around your punctuation marks this
should do the trick.
Update! Upon re-reading your post I am a bit unclear... Do you want to keep the punctuations or not?
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo