Double forward slashes not matching
<p>I have a string <code>text//text</code>, I want match '//' using php. So far I have tried it using </p>

<pre><code>if(preg_match('////', $str)) {

}
</code></pre>

<p>and </p>

<pre><code>if(strpos($str, '//')!==FALSE) {

}
</code></pre>

<p>but neither works. Please help.</p>
