var match = new RegExp('[?&]voucherSn=([^&]*)').exec("http://m.v3beta.tootoo.cn/index.php?r=TExchange/exchangeArea?voucherSn=123");
var voucherSn= JSON.parse(match && decodeURIComponent(match[1].replace(/+/g, ' ')));
var match = new RegExp('[?&]voucherSn=([^&]*)').exec("http://m.v3beta.tootoo.cn/index.php?r=TExchange/exchangeArea?voucherSn=123");
var voucherSn= JSON.parse(match && decodeURIComponent(match[1].replace(/+/g, ' ')));