Use the Find dialog and turn on the "Grep" switch...
1) I have questions about this one. Are the lines to be kept and the lines
to be deleted always alternating? (e.g. there's always one to be kept,
always followed by one and only one to be deleted?) If not, I'd probably do
this one in two steps (
To delete `###` and subsequent line:
Find: `###\r.*\r`
Replace: (empty)
Grep: on
Then, to delete lingering `&&&` line:
Find: `&&&\r`
Replace: (empty)
Grep: off
Hope this helps!
-sam
On 2 May 2018, at 13:25, Matthew London wrote:
> Hi,
> I have a file with the following:
>
>
> &&&
> TEXT STRIN
Hi,
I have a file with the following:
&&&
TEXT STRING I WANT TO KEEP
###
TEXT STRING I WANT TO DELETE
&&&
TEXT STRING I WANT TO KEEP
etc,
where there is a linebreak after &&&, ###, and all text strings
I need to process this text in two different ways;
1)
I would like to remove ALL of the fol