I have one asp.net application, in which i have one text box for entering home page url. By default this text box contains http://. If the user entered additional text rather than the existing text, it will make the validation. Otherwise leave it as it is. How it possible? Please help me by providing the regular expression for resolving this issue.
Share
Try this expression
From http://msdn.microsoft.com/en-us/library/ff650303.aspx#paght000001_commonregularexpressions
Or this mechanism in code behind
Posted by 0xA3 here Is there a URL validator on .Net?
HTH