raybies
asked on
Regular expression C# match email address AND not like micro.com (1/2 done)
Folks I'm having a hard time getting a regular expression to match a proper email address xxx@xxx.xxx AND not containing micro.com.
I can do either by itself but not both combined.
This will match an email address: (\w+([-+.']\w+)*@\w+([-.]\ w+)*\.\w+( [-.]\w+)*)
This will match NOT micro.com: ^((?!micro).)*$
Any chance some one can help me combine them.
I can do either by itself but not both combined.
This will match an email address: (\w+([-+.']\w+)*@\w+([-.]\
This will match NOT micro.com: ^((?!micro).)*$
Any chance some one can help me combine them.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem ;)
ASKER