by Mofi » Thu Jan 19, 2006 7:42 am
Can be done with a regular expression replace. First determine which style you use for regular expression. Look at Advanced - Configuration - Find - Unix style Regular Expressions. If this option is not enabled, you use regular expressions with UltraEdit style.
To delete some lines with an UltraEdit style regular expression replace use following:
Find What: %*keyword*^p
Replace With:
% ... start of the line
* ... 0 or more occurrences of any character
^p ... line termination (CRLF = carriage return, line feed)
Run Replace All several times until search string not found anymore.
See help of UltraEdit for more details about regular expressions.