in reply to Re^2: Matching range of text with another string in betweenin thread Matching range of text with another string in between
For Windows, try replacing \n with \r\n