How to find something in a string with PHP
<p>I'm a little green with PHP, as i have coded in ASP classic before and it's really not the same</p>

<p>I have 3 strings containing the following text:</p>

<pre><code>$str1 = "is simply dummy text of the printing $$ 6/4r $$ and typesetting industry"
$str2 = "is simply dummy text of the printing $$ 11/11tr $$ and typesetting industry"
$str3 = "is simply dummy text of the printing $$ 15/6 $$ and typesetting industry"
</code></pre>

<p>How can i get <code>6/4r</code>, <code>11/11tr</code> and <code>15/6</code> out in seperate variables?</p>

<ol>
<li>I think it something like search for <code>$$</code></li>
<li>Ask, is the next char a space?</li>
<li>Ask, is the next char a number?</li>
<li>Ask, is the next char a '/'</li>
</ol>

<p>When all these are true i want to grab <code>6/4r</code> and put it in a separate var.</p>

<p>How can I do this in PHP?</p>
