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