I want to exclude spaces when validating a textbox in vb.net. Here is the current ValidationExpressopn value:
ValidationExpression="^([a-zA-Z0-9_-.\']+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([a-zA-Z0-9-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$" />
When user inputs space in textbox, I dont want that to render as error.
Example: I include spaces after "1@test.com "
This should not be treater as incorrect data in the textbox.
Any ideas?