I use UltraEdit often to parse through very large log files, and one task I'm constantly trying to streamline is the removal of uninteresting/repetitive lines.
Right now, I'm using the "Delete Lines Containing String" macro from the downloads section, but have found that it is often so slow that it's faster for me to simply copy the text, and replace all with the following RegEx: ^.*<PASTE>.*$
I end up doing this over and over again, and would like to streamline the Replace All process with a macro, using the currently selected text to delete all lines containing that text. However, when I try to use ^s in the macro along with the RegEx above, it never finds anything. I'm not sure what I'm missing. Current macro contents are below.
Of course, finding a way to speed up the script, which already works but is quite slow, would also fit my needs.
- Code: Select all
Find RegExp AllFiles "^.*^s.*$"
Replace All ""
Thanks in advance for any tips.