On 7/27/2012 2:56 PM, David Harkness wrote:
On Fri, Jul 27, 2012 at 11:43 AM, Al <news@xxxxxxxxxxxxx> wrote:"%[\w\d,.]%""\w" will match digits so "\d" isn't necessary, but it will also match underscores which isn't desired. David
You're correct, I forgot about the darn _ and \w includes digits So, how's about this. "%(?!_)[\w,.]%" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php