Dot Net Learning Zone Blog

A blog about to learn Dot Net

Regular Expression for Alphanumeric, float and Max Length in Multi Line

Posted by Rajesh on March 10, 2009

Alphanumeric with White space                                                  :- ^[a-zA-Z0-9 ]+$
For Float  length of integer part 9 and fraction part 4        :-  ([0-9]{1,8}(\.[0-9]{0,4})?|\.[0-9]{1,4})
Max Lenght  in MultiLine TExt BOX                                            :-  “^.{0,255}$”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>