I have the following string repeated many times (about 10 times)
<br />
<a href="http://www.someurl.com/someimage.jpg" target="_blank">SOME TEXT</a>
Now I want to match that that piece of code and basicly strip it completly out of my string. The catch is that the image URL and the 'SOME TEXT' will always be different and I need to repeat this only for the first 3 instances of this combo (including the line break-br) in the string.