I am not to sure how to do this seeing how expressions are a pain to learn.. but lets say I wanted to find something in a text like
--
how would I get a fuction to find lets say cat in that?
$num = preg_match('/cat/', 'The cat is black');
print "The string was found $num times";
Diego