Sorot setiap kemunculan teks

const term; // search query we want to highlight in results 
const results; // search results

results.replace(new RegExp(term, "gi"), (match) => `<mark>${match}</mark>`);
Forgot Password