>  -----Original Message-----
>  I am needing to validate the contents of an EditField as a 
>  properly formatted URL.  Does someone have a good suggestion 
>  on how to accomplish this?  Perhaps a REGEX?

Check this:
<http://www.geekpedia.com/Question65_How-to-validate-an-URL-using-RegEx-in-C
sharp.html>

It uses this regex  

(([a-zA-Z][0-9a-zA-Z+\\-\\.]*:)?/{0,2}[0-9a-zA-Z;/?:@&=+$\\.\\-_!~*'()%]+)?(
#[0-9a-zA-Z;/?:@&=+$\\.\\-_!~*'()%]+)?

constructed according to the BNF grammar given in RFC 2396
(http://www.ietf.org/rfc/rfc2396.txt).


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to