Re: preg_match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/08/06, Peter Lauri <lists@xxxxxxxxxxx> wrote:

Hi,



How do I add so that it checks for a comma , in this preg_match. I think
the
documentation is not that good for the pref_match:



preg_match('/^[a-z0-9-_\'() +]*$/i', $s);



Check for a comma inside a range - use a comma!








--
http://www.web-buddha.co.uk
http://www.projectkarma.co.uk

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux