href = '223d啥啥啥d dds word sss 1233;var indexOf = href.indexOf('word');len = href.substring(indexOf,href.length);(包括指定字符串)
var newHref = href.replace(len,'替换内容');