I'm trying to understand regular expressions:
I need to only match on text_01 and text_02 and filter out the tags.
<span>text_01<b>text_02</b>
I've tried to do it like:
(?<=<span>)(([^>]+)<b>)(.+?)(?=</b>)
But it captures 3 groups and and the Full Match includes a tag.
text_01<b>text_02
Could you give me advice on how I need to build a regex whose Full match contains only text and no tags?