Check if a String is a Valid Palindrome Ignoring Spaces Write a program to check if a string is a palindrome, ignoring spaces and punctuation.