I got a link this http://testsite1/mm/page1.php?tID=18&tSerial=TEST TT 1
Then I got this codes
var qs = location.search, positionID = qs.match(/tID=(\w+)/),serialID = qs.match(/tSerial=(\w+)/);
My problem is that when tSerial is having space e.g. TEST TT 1 then my qs.match can not capture the space what changes must I perform here?