Regular Expression restricting a sepecific domain in Email

Discussion in 'ASP .Net Web Controls' started by Sendhil, Nov 12, 2003.

  1. Sendhil

    Sendhil Guest

    Hi All,
    We are using the following regular expression to accept
    emails from all domain except 'wipro.com'
    This works prefectly fine in a console app using the RegEx
    class - match method.
    The expression is <exp>\w+([-+.]\w+)*@(?!wipro.com)</exp>

    Why doesn't this work with ASP.NET Regular Expression
    Validator control

    Thanks in Advance

    Regards,
    Sendhil.
     
    Sendhil, Nov 12, 2003
    #1
    1. Advertisements

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. VSK
    Replies:
    2
    Views:
    2,671
  2. Linus Nikander

    Email regular expression validator

    Linus Nikander, Sep 19, 2003, in forum: Java
    Replies:
    2
    Views:
    12,494
    Roedy Green
    Sep 19, 2003
  3. =?iso-8859-1?B?bW9vcJk=?=

    Matching abitrary expression in a regular expression

    =?iso-8859-1?B?bW9vcJk=?=, Dec 1, 2005, in forum: Java
    Replies:
    8
    Views:
    1,085
    Alan Moore
    Dec 2, 2005
  4. GIMME
    Replies:
    3
    Views:
    12,507
    vforvikash
    Dec 29, 2008
  5. Lad
    Replies:
    2
    Views:
    427
    Tim Roberts
    Sep 27, 2006
  6. Replies:
    9
    Views:
    2,755
    Jussi Piitulainen
    Dec 2, 2006
  7. shapper

    Email regular expression

    shapper, Mar 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    527
    Peter Bradley
    Mar 14, 2007
  8. ll
    Replies:
    9
    Views:
    350
    Evertjan.
    Feb 21, 2007
Loading...