// 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) 
public class Unescape {
    public static void main(String[] args) {
        String s = "\u001B[11;1H12\u001B[11;5H900 \u001B[11;11H5319";
        System.out.println(s);
        String s2 = s.replaceAll("\\p{Cntrl}", "");
        System.out.println(s2);
        String s3 = s.replaceAll("\u001B\\[\\d+;\\d+H", "");
        System.out.println(s3);
    }
}
