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\'
 
Back
Top