A possible solution would be to iterate through the content and wrap the matched substrings in a span, then change the color of that span. Below you will find a small sample which demonstrates the above approach:
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.