fork(7) download
  1. class main {
  2. public static void main (String[] args) throws java.lang.Exception {
  3. String input = "L33t in the 1980s 784th s787 foo BAR z0mb13";
  4. String[] s = input.replaceAll("\\w*\\d+\\w* *", "").split(" +");
  5. for( String str : s )
  6. System.out.println( str );
  7. }
  8. }
Success #stdin #stdout 0.06s 380160KB
stdin
Standard input is empty
stdout
in
the
foo
BAR