var path="http://name.ru/name?date=01%2F15%2F2016&count-people=45";
//var trueWay = path.replace(/%2F/g, '\/');
var result = path.match( /count-people=[0-9]{2,100}/gi );
var result2 = path.match(/date=[0-9]{2}%2F[0-9]{1,2}%2F[0-9]{4}/gi);
alert(result+" и дата "+result2);
testStr = 'http://name.ru/name?date=01%2F15%2F2016&count-people=45';
regExpWrapper = new RegExp('(?:date=)(.*?)&(?:.*)=(.*)$');
result = regExpWrapper.exec(decodeURIComponent(testStr));
console.log(result[2] + '. ' + result[1]);