0
kicks
Highlighting keywords in text using Regex.Replace (Perfect for SEO)
I needed to take some text and bold certain keywords before returning the data to the web browser (this was to enhance Search Engine Optimization). The following example shows how I achieved it.