I have a situation with typesetting a book in which the quotation marks are all screwed up. The author used a variety of marks¹ and apparently didn't believe in discriminating between them. I've managed to sort out a lot of them such as fixing all the uses as apostrophe and most of the opening and closing quotes, but there are a few lingering problems. I have ten more open curly quotes (
“) that closing curly quotes (
”). This means that somewhere either quotations aren't closed at all or the wrong mark is used. Searching for one at a time (or even both at once with a regex) helps a little, but still visually scanning hundreds of pages of text for miss-matches is a lot of work.
Is there a way that I can search for two expressions at once and highlight each in a different color? This way I could skim for pairs without having to look closely at each one.
¹ I kid you not there was a random distribution of single and double straight quotes, single and double curly quotes in assorted directions, back-ticks, and various combinations including