I am selecting specific line and I want it to be removed with all the text and lines after it.
Code I use to select the line containing needed string:
Also I another one to remove it and text before it for another string.
It would be great if I could replace all the text and lines with a one custom line.
I've tried adding .* and \r\n, but nothing is working..