RE: [PHP] Controlling just size with regular expressions
| From: | Johnson, Kirk | Date: | Mon, 09 Apr 2001 22:57:44 +0000 |
| Subject: | RE: [PHP] Controlling just size with regular expressions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47895@lists.php.net to get a copy of this message | ||
I think [.]{0,9} will get it.
Kirk
> -----Original Message-----
> From: Jorge Alvarez [mailto:alvarezje@hotmail.com]
> Sent: Monday, April 09, 2001 3:38 PM
> To: php-general@lists.php.net
> Subject: [PHP] Controlling just size with regular expressions
>
>
> Hi there,
>
> I need a regular expression that accepts *anything* without
> restrictions,
> only that the size of the string should be between (for
> instance) 0 and 9
> characters. I know the {0,9} trick, but how do I accept
> *anything* in a form
> field?
>
> TIA,
>
> Jorge
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>