#5774
Yutaka Emura
Keymaster

prashob12 wrote:
Hello:

Please help me to create a macro:

I want to delete the follwoing:

(]+>){1,20} (empty elements)

but there is a condition i want to delete the above only when it comes in the following parent element i.e..

….

For e.g.

BUNDESARBEITSGERICHT

URTEIL

The above should apply to all the XML files in a particular path.

Thanks in Advance

Go to Customize > Search tab, and check “Regular Expressions Can Match New Line Characters”, and set “Additional Lines to Search for Regular Expressions” to 10.

Find:
(.*?)(]+>){1,20}(.*?)

Replace with:
13