In my manual, I've wrapped many words with single quotes, like this: 'bear', 'apple' and 'country'.
My goal is to replace all single quotes with \emph{}, so 'bear' becomes \emph{bear} and 'apple' becomes \emph{apple}.
I think this is not possible with an ordinary find & replace action.
Is there any other way, or should I replace everything by hand?
Edit: Can I use some sort of joker? Like: replace everything where 'joker' with \emph{joker}.
'([a-zA-Z]+)'by\emph{$1}But you have not said which editor you are using. – David Carlisle Nov 07 '13 at 17:18"by\emph{and find the next"and replace by}. Then simply repeat the macro until the end of the document. Note that one missing"will cause that the next words are changed in the wrong order, so follow that is working correctly. – Fran Nov 07 '13 at 17:21