I have a RegularExpressionValidator with:
ValidationExpression="^(a-zA-Z0-9 '-]+$"
so this was working for alphanumerics, spaces, apostrophes and hyphen.
I was told that I now need it to additionally work for underscore, ampersand '&', comma, parentheses and fullstop.
I tried:
ValidationExpression="^(a-zA-Z0-9 '-_&,().]+$"
but this made it accept virtually anything.
Could someone please tell me where I'm going wrong? I'm relatively new to Regex.