Regular Expression for adding RequiredFieldValidators
Here is the quick way of adding RequiredFieldValidator for a big form.
In ASPX file do Quick Replace with a Reqular Expressions turned on
Find what: ID="{txt{[^"]*}}" Replace with: ID=\1 runat=“server”>
Do “Replace” for fields that need validation.
Posted on March 10, 2008 by Viktar Karpach