How to get a substring starting from two characters before first keyword, second keyword or \'third keyword\' until first stop keyword
first keyword
second keyword
first stop keyword