Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color [ and including the ] (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').
I am trying to do this in python.
numbers [
1
2
3
]
color [
blue
green
red
]
more [
1
2
3
]
Any help highly appreciated.