title: How do I use preg_match to test for spaces?
body: <p>How would I use the PHP function preg_match() to test a string to see if any spaces exist?</p>
  <h3>Example</h3>
  <blockquote>
  <p>&quot;this sentence would be tested true for spaces&quot;</p>
  <p>&quot;thisOneWouldTestFalse&quot;</p>
  </blockquote>