Validator Question

Discussion in 'ASP .Net Web Controls' started by Patrick.O.Ige, Nov 15, 2004.

  1. Validating an email like with expression :-
    ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
    About if i want to validate
    Any ideas?
    Patrick.O.Ige, Nov 15, 2004
    #1
    1. Advertising

  2. Patrick.O.Ige

    Scott M. Guest

    Just a guess:

    ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)+\.(com|net|org|edu|mil)$"

    or

    ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$+\.(com|net|org|edu|mil)$"

    "Patrick.O.Ige" <> wrote in message
    news:...
    > Validating an email like with expression :-
    > ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
    > About if i want to validate
    > Any ideas?
    Scott M., Nov 15, 2004
    #2
    1. Advertising

  3. Patrick.O.Ige

    naija naija Guest

    Scott i tried that but it wasn't validating.!!
    It had an Jscript error!
    PAtrick


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    naija naija, Nov 25, 2004
    #3
  4. Patrick.O.Ige

    Scott M. Guest

    It works fine for me. Are you sure you haven't modified some of the other
    script?


    "naija naija" <> wrote in message
    news:%...
    > Scott i tried that but it wasn't validating.!!
    > It had an Jscript error!
    > PAtrick
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
    Scott M., Nov 25, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephan Bour

    Regex validator question

    Stephan Bour, Oct 28, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    335
    Stephan Bour
    Oct 28, 2003
  2. TN Bella

    Validator question

    TN Bella, Jun 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    315
    TN Bella
    Jun 15, 2004
  3. Ken Varn
    Replies:
    1
    Views:
    2,630
    Peter Blum
    Nov 2, 2004
  4. MattB

    Custom Validator newbie question

    MattB, Nov 23, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,941
    Teemu Keiski
    Nov 23, 2004
  5. Replies:
    4
    Views:
    887
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page