You don't need a comma.  

^\w{1000}$

David

--- prakhar <[EMAIL PROTECTED]> wrote:
> If we just want to validate length, can't we use {
> ,1000}
> 
> 
> Prakhar
> ----- Original Message -----
> From: "Matt Raible" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 04, 2001 4:33 PM
> Subject: Re: Validation Framework: validating field
> length
> 
> 
> > In response to:
> >
> >
>
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15960.html
> >
> > Dave - what regular expression would I use to say
> "any characters, just
> less
> > than 1000 characters"?
> >
> > Thanks,
> >
> > Matt
> >
> > __________________________________________________
> > Do You Yahoo!?
> > NEW from Yahoo! GeoCities - quick and easy web
> site hosting, just
> $8.95/month.
> > http://geocities.yahoo.com/ps/info1


__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Reply via email to