Hello
I try to delete all empty lines in an active document. Unfortunately following script doesn't work. Can anybody tell me where is the problem?
It seems that the RegExpfind string won't found. If I change the RegExp to something else, everything works fine.
Thank's a lot for every support!
Regards, Joerg
I try to delete all empty lines in an active document. Unfortunately following script doesn't work. Can anybody tell me where is the problem?
Code: Select all
UltraEdit.activeDocument.findReplace.regExp=true;
UltraEdit.activeDocument.findReplace.replaceAll=true;
UltraEdit.activeDocument.findReplace.replace("%^p","");
Thank's a lot for every support!
Regards, Joerg