1 2 3 4 5 6 7
class Foo { public static void main(String[] args) { String s = ""; s.replaceAll("\\<caret>"); System.out.println(); } }