| To: | "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | RE: Validate URL |
| From: | "Walter Purvis" <wpurvis at gmail dot com> |
| Date: | Wed, 30 Aug 2006 22:15:44 -0400 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| Thread-index: | AcbMm1jkzidvRIFRSuqKzapVE3mrtAAB8pZg |
> -----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> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | BevelButtons Issue on Windows?, Karen |
|---|---|
| Next by Date: | Re: Validate URL, Phil M |
| Previous by Thread: | Validate URL, Christopher Jett |
| Next by Thread: | Re: RE: Validate URL, Dennis Birch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |