preg_match

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

 



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);

 

/Peter

 

 


[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