Link to home
Start Free TrialLog in
Avatar of zimmer9
zimmer9Flag for United States of America

asked on

How to verify that an email address ends with a particular set of characters in C#?

I have an email address field (varchar 50) that I wanted to verify ends with either of the following 2 values in C#:

1) @ab.com or
2) @americanbroadcasting.com

Do you know how I could accomplish this?
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial