Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Regular Expression restricting a sepecific domain in Email

Reply
Thread Tools

Regular Expression restricting a sepecific domain in Email

 
 
Sendhil
Guest
Posts: n/a
 
      11-12-2003
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regular Expression to match the domain part of an email address emzyme20@hotmail.com Java 9 12-02-2006 09:59 AM
Dynamically changing the regular expression of Regular Expression validator VSK ASP .Net 2 08-24-2003 02:47 PM



Advertisments