Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

ASP.NET ValidationExpression for ****\****

I need a ValidationExpression for ASP.NET RequiredFieldValidator based on the following pattern:

*****\*****

For example:
hello\james
test\david_dolf

Thanks a lot for the help~
0
chokobu22
Asked:
chokobu22
1 Solution
 
vora_bhaumikCommented:
http://public.kvalley.com/regex/regex.asp
this is the validator.
(?!)

Let me know if you need any more help.

Thanks,
Bhaumik
0
 
informaniacCommented:

\w+\\\w+

Open in new window

0
 
chokobu22Author Commented:
Thanks a lot!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now