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/>