public class Replace03 {
public static void main(String[] args) {
String example = "<html>asdfghjk</html>";
String replacement = "bbb";
Pattern p = Pattern.compile("(<html>).*(</html>)");
Matcher m = p.matcher(example);
StringBuffer buff = new StringBuffer();