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. 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. VSK
    Replies:
    2
    Views:
    2,281
  2. =?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:
    839
    Alan Moore
    Dec 2, 2005
  3. GIMME
    Replies:
    3
    Views:
    11,942
    vforvikash
    Dec 29, 2008
  4. Replies:
    9
    Views:
    2,400
    Jussi Piitulainen
    Dec 2, 2006
  5. ll
    Replies:
    9
    Views:
    184
    Evertjan.
    Feb 21, 2007
Loading...

Share This Page