Yasserzaid’s Weblog

June 6, 2009

Use Regular Expression Validator

Filed under: ASP.Net — Tags: — yasserzaid @ 2:13 pm

Hi

try this example to validate user input using Regular Expression Validator Control

1- minimum 6 degits (numbers only) = ^\d{6,}$

2- minimum 6 characters (digits or litters) = ^[a-z]{6,}$

3- minimum 6 digits and chars in both = ^[0-9a-z]{6,}$

Hope this helps

Good Luck

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.