Strip words encased with '' from text inside variable and explode them into separate variables
<p>Please take a look at the content of this variable:</p>

<pre><code>$profile_rule = 'profile LIKE (\'fitness\') AND profile LIKE (\'pets\')';
</code></pre>

<p>Is there a way to strip all the text inside and just get the words fitness and pets into two separate variables?</p>

<pre><code>$var1 = 'fitness';
$var2 = 'pets';
</code></pre>

<p>I'm not sure this could be done, but if there's a way it will save me allot of work.</p>

<p>Thank you!</p>
