The easiest way to think of this may be:
.. which you can do like this:replace ' with \' if it lies between two letters
.. or like this:s/(?>=\w)'(?=\w)/\\'/g;
s/\b'\b/\\'/g;
Hugo
In reply to Re: Escape single quote marks in words
by hv
in thread Escape single quote marks in words
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |