javascript如何使用正则表达式高亮关键字

d.person_position_codes_.replace(/(其他相关职位)/img, '$1
d.person_position_codes_.replace(/(其他相关职位)/img, '<span class="gui-color-red">$1</span>')
标签: