Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { private static final String quoteRegex = "\\[quote((.|\n)*?)\\[/quote]"; public static String removeQuote(String content) { return content.replaceAll(quoteRegex, ""); } }