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
    Apr 2 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

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.