I have a string like the following
~~<b>A<i>C</i></b>~~/~~<u>D</u><b>B</b>~~has done this.
I am trying to get the text inside <b> tag. I am trying
<b>(.+)</b>
But I am getting <b>A<i>C</i></b>~~/~~<u>D</u><b>B</b>
, but I need <b>A<i>C</i></b>
as first match and <b>B</b>
as the second match
Can anyone please help?