<?php $html = '<span role="button" class="a-n S1xjN" tabindex="0">414,817 people</span>'; $dom = new DOMDocument; $dom->loadHTML('<div>'.$html.'</div>'); foreach($dom as $x){ var_dump($x); }
You have javascript disabled. You will not be able to edit any code.