Thursday, June 5, 2008

Java - One liners


// replace the text between two tags with *s.
System.out.println("12345".replaceAll("(?)12345", "*****"));