mark.js

A keyword highlighter for search terms or regular expressions

mark.jsmarkjsmarkjquery.markjmHighlighthighlightsearchjqueryjavascripttextkeyword

https://markjs.io/