Velocity Reviews - Computer Hardware Reviews

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

Thread Tools

Regular Expression restricting a sepecific domain in Email

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

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

Thanks in Advance

Reply With Quote

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 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