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

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