> I am looking for a regular expressiion to validate multiline text box.
>
> It should allow carraige returns and accepts white space also

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
It should accept nmaximum 500 characters in multiline text box
> > I am looking for a regular expressiion to validate multiline text box.
> >
[quoted text clipped - 5 lines]
>
> What's not...?
Jesse Houwing - 20 Sep 2007 21:20 GMT
Hello Bobby,
> It should accept nmaximum 500 characters in multiline text box "Mark
> Rae [MVP]" wrote:
[quoted text clipped - 14 lines]
>> ASP.NET MVP
>> http://www.markrae.net
$(?s:.){500}$
should do it.
though if you want to count a carriage return + linefeed as one or as zero
characters you'd need to adjust it a bit.
Remember that this won't ensure that the maximum number of bytes never exceeds
500, Unicode will mprobably stump you there.
--
Jesse Houwing
jesse.houwing at sogeti.n