I\'ve searched many threads here on removing the first two lines of a string but I can\'t seem to get it to work with every solution I\'ve tried.
Here is what my string
You could use some rules, like consider those lines only if they start with '[' character lines = [line for line in lines if line.startswith('[')]
'['
lines = [line for line in lines if line.startswith('[')]