0

Stackexchangers,

I have a couple of hundred XML texts, which contain textual repetitions of the following type:

In cases where exceptional balance of payments difficulties exist, and then for a period not exceeding eighteen months, the contracting Party shall guarantee the transfer of any amount mentioned in paragraph (1) of this Article on a pro rata basis, provided that the total period for the transfer does not exceed five years.paragraph (1) of this Article on a pro rata basis, provided that the total period for the transfer does not exceed five years.

Is there a way in Excel, Stata, Word, R or any other software or programming language to detect and highlight them? Simple detection is needed, no replacement or deletion.

I checked out Ray Pereda's Mega Patterns tool, but I need repetitions to be highlighted for manual deletion, rather than listed or counted.

Also, the ideal solution would have the option of ignoring xml code.

thanks in advance for replying.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.