how to add hyphen
Posted: Mon Oct 16, 2006 1:31 pm
Hi,
This is my regex, I want them to be able to enter hyphen, how could I do that?
'regex' => '/^[A-Za-z\']{2,40}$/',
This is my regex, I want them to be able to enter hyphen, how could I do that?
'regex' => '/^[A-Za-z\']{2,40}$/',