RegularExpressionValidator exact string match

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

PLEASE - I would really appreciate some help on this! I've got a text box I'm trying to validate that should contain a 'DOMAIN\USER_NAME' entry. I'm trying to verify that a valid domain was entered + a "\", lets say it should be 'DOMAINXYZ', so I want to match 'DOMAINXYZ\

In the validator I've set the ValidationExpression to various combinations and still get the error.
I've tried:
ValidationExpression=".DOMAINXYZ.\\.*
ValidationExpression="DOMAINXYZ\\*
ValidationExpression="DOMAINXYZ\\
ValidationExpression="DOMAINXYZ

Nothing seems to be working. PLEASE HELP!!
Thanks!
 
What error are you receiving? Please be specific.

Derrick


jwaller said:
PLEASE - I would really appreciate some help on this! I've got a text
box I'm trying to validate that should contain a 'DOMAIN\USER_NAME' entry.
I'm trying to verify that a valid domain was entered + a "\", lets say it
should be 'DOMAINXYZ', so I want to match 'DOMAINXYZ\'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top