| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: RegEx question |
| From: | Tom Russell <linuxrox at stny dot rr dot com> |
| Date: | Thu, 30 Aug 2007 19:42:30 -0400 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <46D74652 dot 4070705 at stny dot rr dot com> <10AB228E-EC8D-4715-A717-38A70184D08D at seedit dot info> |
That one makes sense, a nightmare with the quotes though! Sven E Olsson wrote: > Links could looks like this: > <a class="blue" href="http://www.seedit.info"> > <a href="http://www.seedit.info" title="Visit seedit.info"> > > There is also examples with Eventhandlers, so you could not search to > the last ">" > > > The only that is safe looks to be: href="http://www.seedit.info" and > "href=" must be included, because the rest could just be text like: > <a href="http://www.seedit.info">www.seedit.info</a> > > This return: href="http://www.seedit.info" - and then remove "href=" > href=["]+...+["] > > --------- > Sven E > > On 2007-08-31, at 00:36, Tom Russell wrote: > > >> I need to parse some info from a web page but not sure how to regEx >> it. >> >> Example would be: >> >> href="http://myworld.ebay.com/xxxxxxxxx/"> >> >> But I only need the stuff in the quotes. >> >> I assume my search pattern would be something like: >> rg.SearchPattern="href="http:(\D+)>" >> >> Would this be correct? >> >> Thanks, >> >> Tom >> >> >> > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > > > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Toggle checkbox using return key, Tim Jones |
|---|---|
| Next by Date: | RE: Toggle checkbox using return key, RBNUBE |
| Previous by Thread: | Re: RegEx question, Sven E Olsson |
| Next by Thread: | Re: RegEx question, Sven E Olsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |