How do I retrieve some information from HTML code in AHK?
<p>I'd like to retrieve some information from HTML code. Let's consider the following:</p>

<pre><code>&lt;ul class="article-additional-info"&gt;
   &lt;li&gt;&lt;strong&gt;Issue Year:&lt;/strong&gt; 2011&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Issue No:&lt;/strong&gt; 1 (200)&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Page Range:&lt;/strong&gt; 65-80&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Page Count:&lt;/strong&gt; 15&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Language:&lt;/strong&gt; Polish&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>I can get all the information from <code>article-additional-info</code> class by using <code>document.getElementsByClassName("article-additional-info")[0].innerText</code>.</p>

<p>But how do I retrieve individual information from this class like <code>2011</code> (from <code>&lt;strong&gt;Issue Year:&lt;/strong&gt; 2011&lt;</code>)?
I'd like to avoid using RegEx.</p>

<p><strong>EDIT:</strong></p>

<p>Based on the answer, I slightly modified the code. However, I cannot get rid of one element: <code>Language:</code>. Here's the code:</p>

<pre><code>html =
(
&lt;body&gt;
&lt;ul class="article-additional-info"&gt;
   &lt;li&gt;&lt;strong&gt;Issue Year:&lt;/strong&gt; 2011&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Issue No:&lt;/strong&gt; 1 (200)&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Page Range:&lt;/strong&gt; 65-80&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Page Count:&lt;/strong&gt; 15&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Language:&lt;/strong&gt; Polish&lt;/li&gt;
&lt;/ul&gt;
&lt;/body&gt;
)

document := ComObjCreate("HTMLfile")
document.write(html)

test := ["Issue Year:", "Issue No:", "Page Range:", "Page Count:"]

try While (x := document.getElementsByTagName("ul")[A_Index-1])
    {
    if (x.className = "article-additional-info")
        {
        count++
        yclass%count% := x.innerHTML
        }
    }

loop, %count%
{
html := yclass%A_Index%
document.Close
document := ComObjCreate("HTMLfile")
document.write(html)

try While (x := document.getElementsByTagName("strong")[A_Index-1])
    {
    StringLen, y, % test[A_Index]
    msgbox % [A_Index] . " " . substr(x.parentnode.innerText, y+2)
    }
}
ExitApp
</code></pre>