// Collection of code snippets by Arne Vajhøj // posted to eksperten.dk, usenet and other places (2002-now) import java.util.regex.Pattern; public class InsideBody { private static final Pattern restart = Pattern.compile(".*
]*>", Pattern.DOTALL); private static final Pattern reend = Pattern.compile(".*", Pattern.DOTALL); public static void main(String[] args) { String html = "\r\n\r\n