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"?

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

1 Answer 1


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

Use the following search string:


Further Reading

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.