/**
 * 1.4 PalindromeTester
 *
 * @author Matthew Cheng
 * @version  9/6
 */

import java.util.Scanner;

public class PalindromeTester {
    public static void main (String [] args) {
        String input, reverse, another = "y";
        Scanner sc = new Scanner (System.in);

        while (another.equalsIgnoreCase("y")) {
            System.out.print("Please enter a potential palindrome: ");
            input = sc.nextLine();

            reverse = new StringBuilder(input).reverse().toString();
            reverse = input.replaceAll("[\\W]", "");

            boolean equals = input.equalsIgnoreCase(reverse);

            System.out.println();

            if (equals) {
                System.out.println("That string IS a palindrome.");
            } else {
                System.out.println("That string IS a palindrome.");
            }

            System.out.println();
            System.out.print("Test another palindrome (y/n)? ");
            another = sc.nextLine();
        }
    }
}
@@ -804,32 +804,36 @@
 %22That string IS 
+NOT 
 a palindrome.%22);

Update PalindromeTester.java Fixed a stupid typo I missed where regardless of whether or not the string was a palindrome the program would print a statement saying it was.