Thank you both for your input, I read the file into a StringBuilder, then searched that, which worked a treat :P
Type: Posts; User: newbie
Thank you both for your input, I read the file into a StringBuilder, then searched that, which worked a treat :P
----VOID----
Hmm yeah thanks for that, The description of pattern = Pattern.compile(regex, Pattern.DOTALL);
seems to be what I was after, but unfortunately, It still fails to find a match when <body> and </body>...
I'm currently learning regular expressions, and one of my tasks is to get all text between <body> and </body> of a html file. When <body> and </body> are on the same line I get a result, but the...