We have web site on which we need to replace words from Bible to HTML tegs, but excluding some parts.
For example, we have mentioned Bible like that:
*?? 5:7, ????? ????? <a href=# title="?? 6:7">??? ??????</a> - ?? 5:17
*Your procedure should convert underlined text into HTML tegs, but EXCEPT one thing - text mentioned in the "title=" tag should NOT be replaced - it is containg searched term, but it should not be replaced to html, as it is html already.
It should work for russian words. PERL language only.
I prefer solution in one line, something like =~ s///...