Quote:
Originally Posted by Jpax
Anyone here knows any program where I can do automation for <idx:entry> tagging.
|
You can use any text editor with regular expression support, for example,
Notepad Plus.
Select Regular Expressions as the search mode and use the following parameters:
Find what:
Code:
<p class="rev"><span class="textStyle12">(.*?)</span>\s+<span class="textStyle25">(.*?)</span> <span class="textStyle13">(.*?)</span></p>
Replace with:
Code:
<idx:entry>\n<p class="rev"><span class="textStyle12"><idx:orth>\1</idx:orth></span> <span class="textStyle25">\2</span> <span class="textStyle13">\3</span></p>\n<idx:key key="\1">\n</idx:entry>