I have this string
test = "total abc total foo total anything here total\ntotal total\ntotal\nstart\notal abc total foo total anything here total\notal abc total foo total anything here total\nstart\notal abc total foo total anything here total\n"
How would I go on about matching from the last occurance of start to the end of the line?
I tried to do this with a negative lookahead but I would always get the first occurance:
(?!$)\\nstart[\s\S]*?$
Expecting match to be characters: 164-219