@guy038 This method can be used to skip a string and replace part of a shorter, similar string, even when it precedes the long string.
So, if the input text is:-
abc
abcdefghijklmnopqrstuvwxyz
We can get an output like this:-
ABC
abcdefghijklmnopqrstuvwxyz
By using this in the Find and Replace fields respectively with the “matches newline” box unticked (unchecked):
FIND (?-s)abc.*xyz(*SKIP)(*F)|abc
REPLACE \U$0
I am posting this here for the benefit of people who land on this page after searching online for something similar