I have the following in a file
######################
asd asd MISC/TEXT asd asd
data concering above line
bla bla bla SEARCH/TEXT bla bla bla
data concering above line
asd asd MISC/TEXT asd asd
data concering above line
#######################
How do I remove the line containing SEARCH/TEXT and the line following it?
EDIT – The block/paragraph is always two lines long
EDIT2 – Expanded example file for clarity
EDIT:
since you said only one data line after the pattern line:
test
EDIT2:
test with new example input: