I have following regex:
^(<span style=.*?font-weight:bold.*?>.*?</span>)
It matches the following code:
<span style="font-family:Arial; font-size:10pt"> r.</span></p><p style="margin:0pt"><span style="font-family:Arial; font-size:10pt; font-weight:bold"> </span>
But I would like to match only this part (last span containing font-weight:bold style)
<span style="font-family:Arial; font-size:10pt; font-weight:bold"> </span>