Preg match where id attribute changes by 1
<p>I want to get the innertext of each anchor. And then print the results. The "ctl" in the id attribute is increased by 01 each time though.</p>

<p>I have to match them by the id attribute because of the page these anchors are located.</p>

<p>How could I do that?</p>

<pre><code>&lt;a id="ctl00_mainContent_rpLeaderboard_ctl01_hypServiceRecord" href="/Stats/Reach/default.aspx?player=DJ+DarkRecon"&gt;DJ DarkRecon&lt;/a&gt;

&lt;a id="ctl00_mainContent_rpLeaderboard_ctl02_hypServiceRecord" href="/Stats/Reach/default.aspx?player=X+PR+Legacy+X"&gt;X PR Legacy X&lt;/a&gt;

&lt;a id="ctl00_mainContent_rpLeaderboard_ctl03_hypServiceRecord" href="/Stats/Reach/default.aspx?player=Forgiver2"&gt;Forgiver2&lt;/a&gt;
</code></pre>
