On 27 Jul 2012, at 18:07, Ethan Rosenberg <ethros@xxxxxxxxxxxxx> wrote: > I've tried everything and am still stuck. > > A regex that will accept numbers, letters, comma, period and no other characters /^[0-9a-zA-Z,\.]+$/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php