Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

Regular expression to check for specific special characters

I need a regular expression which will prevent someone from entering the special characters <   and > and &
so these three : <,>, &

Can someone show me a regular expression which will look for those specific characters? Also I am using C# .net so the regular expression syntax may or may not matter.
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna 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
Avatar of brgdotnet

ASKER

Thank you Heilo, I am not on a machine with my compiler on it. I will try it out tomorrow.
Thank you!