Question Details    

   Question

Time: 03:33 - Jul 26, 2007     Asked by: bc030400030      Status: Answered      Points: 75   

Require Expressions Validator?

how to make regular expressions for Email text field, phone # text field, only string text field, only numeric field, length between text fields using asp.net 2.0. please gave me the code of regular expressions for each.

 
  • Ask a New Question
  • Become a Quomon Expert
  • Current Categories

     

    Similar Questions


       
     

    Answer Discussion

    Answer Discussion

    Answer Summaries

    Answer Summary

     
     

    Question & Answer System for Websites and Corporate Intranets

  • Save your corporation money by having common business problems solved once
  • Drive a significant amount of new traffic to your website, products, and services
  • Advertisement

    brief visit here so cant elaborate. regex - you can find some examples, of which some should answer yours, here http://dotnet.org.za/trivium/archive/2007/03/26/im...
    and here http://www.codeproject.com/dotnet/RegexTutorial.as... (dotnet)

    Expert:

    nidhi

    Date:

    Jul 27, 2007

    Time:

    11:53

     

    Votes: Good (0) | Bad (0)
    Login to rate this answer

    You might also check out the regular expression validator itself...it has a couple of "pre-built" formulas built in including an Internet email address, a US phone number and a few others. The other regex you're looking for are fairly simple: alpha only: [A-za-z], numeric only [0-9]. Length limits can be controlled by the text box control itself by setting the MaxLength property and if you want to make sure that the data entered in two fields is identical, you'll need to use the "Compare Validator" rather than a regex validator.

    Expert:

    rcastagna

    Date:

    Aug 21, 2007

    Time:

    16:52

     

    Votes: Good (0) | Bad (0)
    Login to rate this answer

    thanks

    Expert:

    bc030400030

    Date:

    Aug 21, 2007

    Time:

    21:14

     

    Votes: Good (0) | Bad (0)
    Login to rate this answer

    Host Unlimited Domains On 1 Hosting Account

    Question Answered

    This question has been answered, and points have been rewarded to the following experts:

    nidhi: 25
    rcastagna: 50

    You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

    No summaries have been submitted yet. Want to be the first?



    Respond to this question:

    New User

      Email:

    Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

    Registered User

    Username:

    Password:


    Forgotten Password

    Enter your email address below and we will resend your login information to you.

    Email:


     


     

    New User

      Email:

    Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

    Registered User

    Username:

    Password:


    Forgotten Password

    Enter your email address below and we will resend your login information to you.

    Email:


     

       

    "Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


    All Questions


    Language Options

    English:

    www.quomon.com

    Español:

    www.quomon.es

    Quomon Blog

    blog.quomon.com

    Sponsors

    Questions and Answers Software
    Real Estate Postcards
    Marketing Fulfillment