I need to extract some data from html:
I have some html like this:
<div class="class"><b>Brand:</b> Apple <b>Model:</b> iPhone 5 </div>
I need to extract something like this:
Brand => Apple Model => iPhone
How I can achieve do this?
this is my current code
preg_match_all("#<b>(.*?)<\/b>+(.*?)#im", $content['adoptions'], $matches);