title: Not able to detect the space for match
body: <p>I have a URL formatted like this:</p>
  
  <pre><code>http://testsite1/mm/page1.php?tID=18&amp;tSerial=TEST TT 1
  </code></pre>
  
  <p>And here is my JS:</p>
  
  <pre><code>var qs = location.search,
  positionID = qs.match(/tID=(\w+)/)[1],
  serialID = qs.match(/tSerial=(\w+)/)[1]; 
  </code></pre>
  
  <p>My problem is that when tSerial is having space e.g. <code>TEST TT 1</code> then my qs.match can not capture the space what changes must I perform here? What else must I change in order to capture the space too?</p>