değiştirin

0 Cevap php

Ben dönüştürmek istiyorum

<p>Code is following</p>
<pre>
&lt;html&gt;<br>&lt;/html&gt;
</pre>

karşı

<p>Code is following</p>
<pre>
&lt;html&gt;
&lt;/html&gt;
</pre>

I don't know how karşı write regular expression for replace between pre tag in PHP.

Bu kod çalıştı http://stackoverflow.com/questions/1517102/replace-newlines-with-br-tags-but-only-inside-pre-tags

ama benim için çalışmıyor.

0 Cevap