![]() |
|
|
+ Search |
![]()
|
Aug 7th, 1999 23:14
Nathan Wallace, Rasmus Lerdorf, Steve Edberg
How about:
$regs = split("[^[:alpha:]]+",$terms);
And, if you want to use this to strip out punctuation from a sentence
but leave contractions, etc in (eg; it's, doesn't, etc):
$regs = split("[^[:alpha:]']+", $terms);