@brian bovril I got Joe's code to work after a bunch of fiddling with my output settings. I am running in a Standard worksheet with 1D input (Maple Input). I load the code out of a Code Edit Region, but the good old bold red Maple Input works as well. In order for it do anything interesting, however, the output display needs to be set to "Typeset Notation" and the Typesetting Level needs to be set to "Maple Standard". These settings are accessed via the Tools => Options => Display menu.
Joe, where can I find documentation for these MathML codes? Particularly, I am interested in the identifier names the begin `#mrow. There doesn't seem to be anything about it in packages TypeSetting, MathML, DocumentTools, Worksheet, or XMLtools.
Minor point, easily correctable: I think you missed the point about the searches needing to be case insensitive. Perhaps you haven't seen the opening credits of the show. For example, the actor name Anna Gunn is shown as AnNa Gunn, with the Na highlighted as the sodium block from the periodic table.