Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If that is your string, then you can get the material bounded by the strings 'A HREF="' using strsplit</p> <pre><code>txt &lt;- '&lt;/TABLE&gt; &lt;BR&gt; &lt;BR&gt; &lt;FONT FACE="Verdana,Geneva,Helvetica" SIZE="-1" COLOR="#990000"&gt;&lt;B&gt; Message has 2 Replies: &lt;/B&gt;&lt;/FONT&gt;&lt;BR&gt; &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"&gt; &lt;TR VALIGN=TOP BGCOLOR="#E0E0E0"&gt;&lt;TD ALIGN=LEFT&gt;&lt;A HREF="/dear-lego/?n=14"&gt;&lt;IMG BORDER=5 HEIGHT=3 WIDTH=3 SRC="/news/x.gif"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT SIZE="-2"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD ALIGN=LEFT&gt;&lt;FONT FACE="Verdana,Geneva,Helvetica" SIZE="-2"&gt;&lt;A HREF="/dear-lego/?n=14"&gt;Re: Plate Paks&lt;/A&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD ALIGN=RIGHT&gt;&lt;FONT FACE="Verdana,Geneva,Helvetica" SIZE="-2"&gt;&amp;nbsp;Tom Stangl&lt;BR&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR BGCOLOR="#F8F8F8"&gt;&lt;TD COLSPAN=4 ALIGN=LEFT VALIGN=TOP&gt;&lt;FONT FACE="Verdana,Geneva,Helvetica" SIZE="-2" ' </code></pre> <p>This is the second fragment:</p> <pre><code>&gt; strsplit(txt, split='A HREF="')[[1]][2] [1] "/dear-lego/?n=14\"&gt;&lt;IMG BORDER=5 HEIGHT=3 WIDTH=3 SRC=\"/news/x.gif\"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT SIZE=\"-2\"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD ALIGN=LEFT&gt;&lt;FONT FACE=\"Verdana,Geneva,Helvetica\" SIZE=\"-2\"&gt;&lt;" </code></pre> <p>There are probably real XML and HTML processing steps but they generally require an example with all the headers and you have removed all those.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload