I wanted to parse following html tags contents retrieved through curl by regular expressions.
<span class='ui-allscores'>IND - 203/9 (49.4 Ovs)</span>
so that output will be "IND - 203/9 (49.4 Ovs)"
.
I have written following code but it is not working.please help.
$one="<span class='ui-allscores'>IND - 203/9 (49.4 Ovs)</span>";
$five="~(?<=<span class='ui-allscores'>)[.]*(?=</br></span>)~";
preg_match_all($five,$one,$ui);
print_r($ui);