RegExp
| From: | WeberSites LTD | Date: | Fri, 15 Dec 2006 05:47:41 +0000 |
| Subject: | RegExp | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245850@lists.php.net to get a copy of this message | ||
I'm trying to limit the text someone can submit in a text area with :
Code:
if(!preg_match("/^[א-תA-Za-z0-9_():,@\/\.\s\-\" ]*$/i",$FieldValue)) {
}
It works well but I'm having problems with the " (double quote).
If there is a double quote (") it fails.