title: Extract Form Value PHP with preg_match?
body: <p>I have get html page from other site using <code>file_get_contents</code> and i want to extract form value.Html is look like this:</p>
  
  <p><code>&lt;input type='hidden' name='csrfmiddlewaretoken' value='here'&gt;</code></p>
  
  <p>So,how i get <code>here</code> using <code>preg_replace</code></p>
  
  <p>What i was tried so far:</p>
  
  <p><code>preg_match_all("/'hidden' value='(.*?)'/",$html, $matches);</code>
  Doesn't not work!</p>