How do you return the actual matched results of a php regex
<p>I have a string and need to get a specific chunk of text out of it.  That chunk is always going to be wrapped in a known quantity of of other text, so its easy to use a regular expression to find the desired chunk via its surroundings.  In php, what is the best way to do this?  I've read through the man pages of various functions that deal with regular expressions, but almost all of them seem to return the number of matches, but not the match itself.</p>

<p>My goal is to get the results of the match, then use preg_replace to get rid of the known quantity and leave me with the desired text.  </p>
