actually I am trying to delete all lines before a pattern excluding it. I am doing it globaly without counting lines that should be deleted.
for exemple: