Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ Very nice and compact, thank you. What if you had multiple distinct substrings to highlight in different colors? $\endgroup$ Commented Aug 26, 2013 at 15:53
  • $\begingroup$ Actually, I should do that with a list, so I use a iterative For over List, and with !StringFreeQ of regular expression from word in List, highlight it. $\endgroup$ Commented Aug 27, 2013 at 18:06