Regexp help
| From: | Chris Boget | Date: | Wed, 20 Oct 2004 16:38:18 +0000 |
| Subject: | Regexp help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199903@lists.php.net to get a copy of this message | ||
What would the regex look like to accept *any* character
for a value but the total length of the value can be no greater
than 50 characters. The regex I am trying to use is as follows
^[\d\D\w\W\s\S.]{0,50}$
but it doesn't appear to be working...
Any ideas?
thnx,
Chris