I have a text field where user can enter user name. I want to ensure it contains "DomainName\" followed by user name. What is the best way to achieve it? CompareValidator or RegularExpression?