php how to replace slashes from beginning and end?
<p>how to replace slashes from beginning and end?</p>

<p>So for example, all of these:</p>

<p>/this/that/</p>

<p>/this/that</p>

<p>this/that/</p>

<p>////////this/that////////////</p>

<p>... become:
this/that</p>
