Re: Regex
| From: | Stuart Dallas | Date: | Fri, 27 Jul 2012 17:16:15 +0000 |
| Subject: | Re: Regex | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318574@lists.php.net to get a copy of this message | ||
On 27 Jul 2012, at 18:07, Ethan Rosenberg <ethros@earthlink.net> 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/