如果1块钱不合用你可以用这个
var pattern = new RegExp("amman","i"); "abc Amman efg".replace(pattern,"<b>"+"abc Amman efg".match(pattern)[0]+"</b>");