I have a text file and want to extract texts between two strings ("StartString" and "EndString" in below example) if a substring exists between those two