I think [.]{0,9} will get it.

Kirk

> -----Original Message-----
> From: Jorge Alvarez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 3:38 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to