How would I match the code below to get two strings:
- title to the third closing a tag
- 2nd title to the 6th closing a tag.(and so on...3rd title to the 9th closing a tag...etc)
Here is the string to be matched:
title
<a></a>
content here
<a></a>
text...
<a></a>
text...
title
<a></a>
<a></a>
<a></a>
I tried using .* but this captured the text from the title to the last a tag.