This question already has an answer here:
I want to select first bold words from sentence.
If my sentence is <b>My username here</b> Address: <b>Bangladesh.</b> Mobile: <b>xxxxxx</b>
Here I want to output just: My username here
I read about preg_match, explode but cannot understand how to apply them.
</div>