Board Thread:The Last Sovereign Discussion/@comment-31763506-20190727041443/@comment-27713488-20200223094713

I've made a further refinement on this technique.

In the event dump, each event command is given not only a page number, but a line number within that page. This means that for each event command that is changed, every subsequent command that would register as the same in WinMerge instead registers as different, because of the larger line number.

These line numbers can be removed with a regex replace, after you do the first-pass regex (the one removing the numbers at the beginning of each line in the dump). Do this for find: ^((.*?\^){4})[\d\^]+?\^ And this for replace: \1 I tested this in Notepad++, which uses the Boost regex engine; I can't guarantee it will work in any application using a different engine, but I believe it should work for most.