@@ -0,0 +1,317 @@
+public String starOut(String str) %7B%0A  if (str.equals(%22*%22)) return %22%22;%0A  str = str.replaceAll(%22.%5C%5C*+.%22, %22%22);%0A  if (str.length() %3E 0 && str.charAt(0) == %22*%22.charAt(0)) str = str.substring(2);%0A  if (str.length() %3E 0 && str.charAt(str.length()-1) == %22*%22.charAt(0)) str = str.substring(0, str.length()-2);%0A  return str;%0A%7D%0A

Create starOut.java