Quote:
Originally Posted by Jellby
how would the parser know whether "an'" has an apostrophe or a closing quote?
|
Actually, quotes, are quite doable using regular expressions. This regexp won't work 100%, but it will work most of the time:
Search =
([>_])’(.*?[^a-z_])’([<_])
Replace =
$1opening_quote$2closing_quote$3
(note: underscore in the search string represents a space)