Delete/Replace entire line after successful search

22 views
Skip to first unread message

finestjava

unread,
Oct 26, 2022, 2:59:05 PM10/26/22
to BBEdit Talk
Having difficulty figuring out
how to delete the whole line when only parts are selected.
Extract only extracts the selected search items.

Thank You

Patrick Woolsey

unread,
Oct 26, 2022, 3:29:19 PM10/26/22
to bbe...@googlegroups.com
As a starting point, I suggest you try the Text -> Process Lines Containing... command, which is designed for just such a task.


[PS: Alternatively, since the intent of the 'Extract' command is to extract data for further use, not delete it, a 'Replace All' would be better suited to the latter.]


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>
Reply all
Reply to author
Forward
0 new messages