Related questions
.replace(reg_exp/gi, '<span class="red">' + search_field + '</span>')
Find more questions by tags CSSHTML