title: Why does my Regexp-Code not show html code?
body: <p>I would like to change something like <code>&lt;var title="some text"&gt;Something&lt;/var&gt;</code> to <code>&lt;abbr title="some text"&gt;Something&lt;/abbr&gt;</code>. I have this code, but somehow it does not show the abbr tag on my webpage:</p>
  
  <pre><code>$arr[0] = preg_replace("#&lt;var(.*?)&gt;(.*?)&lt;/var&gt;#", "&lt;abbr $1&gt;$2&lt;/abbr&gt;", "".$arr[0]."");
  </code></pre>
  
  <p>What am I doing wrong?</p>