3

I want to delete the whole line that contains certain words such as: build, name, disk.

I know that there is a search string ^.*?build.*$(\R|\Z) which will find lines containing "build"

How do I change this to find "build" or "name" or "disk"?

1
  • What should be the result for builder, rename or harddisk?
    – Toto
    Commented Apr 2, 2023 at 9:44

1 Answer 1

3

How do I change this to find "build" or "name" or "disk"?

Use the following search string:

^.*?(build|name|disk).*$(\R|\Z)

Further Reading

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .