I want to write a regular expression that will replace the word Paris by a link, for only the word is not ready a part of a link.
Example:
i\'m l
If you weren't limited to using Regular expressions in this case, XSLT is a good choice for a language in which you can define this replacement, because it 'understands' XML.
You define two templates: One template finds links and removes those links that don't have "Paris" as the body text. Another template finds everything else, splits it into words and adds tags.