<%@ Page Language="C#" %> Regular Expression Tester Web Site URL: runat="server" ControlToValidate="txtUrl" ValidationExpression="^((http|https)://)?([\w-]+\.)+[\w]+(/[\w- ./?]*)?$" Text="Enter a valid URL" />