title: php preg match a string ignoring white space
body: <p>Hello I need to change this expression so it ignores white space </p>
  
  <pre><code>preg_match("/([a-zA-Z\s]{2,}\,\s)+(RED|BLUE|GREEN|BLACK)$/i",$query, $matches))
  
  $query = "Honda Accord, RED"
  </code></pre>
  
  <p>so it still gets the match even if there is white space added such as;</p>
  
  <pre><code>$query = "   Honda    Accord   ,    RED   "
  </code></pre>
  
  <p>Basically i need the matches back as Honda Accord, RED with correct spacing. As you can see im no regexp expert:)</p>
  
  <p>Thanks in advance.</p>