Regular Expressions

This is not an exam or homework

You are using a RegularExpressionValidator to make sure that the user enters a 5 digit US-Zip code, but you are not actually checking if the zip code exists. Which of the following validation expressions achieves this goal?
cybernation989Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
yes, that is indeed the correct choice!
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>This is not an exam or homework
I am sorry, but this looks too much like it, or like exam preparation.
0
 
cybernation989Author Commented:
Sorry forgot this

1. "\d{5}"
2. "[0-9]+"
3. "5*(\d)"
4. "\d[5]"
0
 
cybernation989Author Commented:
After some checking around I found a great tutorial at http://www.w3schools.com/aspnet/control_regularexpvalidator.asp

According to the example \d{5} is the right one
0
All Courses

From novice to tech pro — start learning today.