There's a name for this, and I even found a web site that helps you create such things for web sites, but I can't find or remember either. The element is on both sides of "Season 2014" on this web ...
InDesign GREP rules can get a bit mind-bending. Suppose you want a paragraph style with a GREP style rule that applies a character style to everything except text after a certain character. Something ...