// Collection of code snippets by Arne VajhÃ¸j 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.regex.Pattern;

public class SpecialReplace {
    public static void main(String[] args) {
        String text = "Team CSC Vinder MÅSKE tour'en i år og måske ikke";
        System.out.println(text.replaceAll("MÅSKE", ""));
        System.out.println(Pattern.compile("MÅSKE", Pattern.CASE_INSENSITIVE + Pattern.UNICODE_CASE).matcher(text).replaceAll(""));
    }
}
