in reply to Re: Escape single quote marks in wordsin thread Escape single quote marks in words
Your regex is more precise and less prone to errors than the one I've, which uses a comma as the context.