http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html

var _href = window.location.href;
var sd=_href.replace(new RegExp("\S*projectx\W(\S+)\Windex.html","g"),$1);
console.log(sd);