I'm trying to extract the string (201 & 202) from the html response code below.
So far I have tried the following regex
punumber=(.+)
but the problem is that there are many instances of the punumber on the page and gets me stuff that I dont need.
The string i need are inside the <h3 class="content-title">.
So can someone please help me write a regex to extract the punumber within the h3 class only?
<h3 class="content-title">
<!-- change when this is completed -->
<a href="/container/recentIssue.jsp?punumber=201">
Title 1
</a>
</h3>
<h3 class="content-title">
<!-- change when this is completed -->
<a href="/container/mostRecentIssue.jsp?punumber=202">
Title 1
</a>
</h3>
<h3 class="content-title">block.