Home » ASP.NET » Regular Expression for adding RequiredFieldValidators Regular Expression for adding RequiredFieldValidators Here is the quick way of adding RequiredFieldValidator for a big form. In aspx file do Quick Replace with Reqularexpressions turned on Find what: ID=\"{txt{[^\"]*}}" Replace with: ID=\1 runat="server"> Do "Replace" for fields that need validation. Posted on Monday, March 10, 2008 by Viktar Karpach | Add Comment New Comment Your Name: Email (for internal use only): Comment: Code above: