I want to apply my regular expression not just to the first line of the text file, but to the all lines together. Currently it matches only when the entire appropriate match is on one line. And if the appropriate match continues on the next line - it doesn't match at all.I want to apply my regular expression not just