Topic: Language Problem / Level: advanced

Problem: Write a program to check if a string is a valid palindrome considering punctuation and spaces.

Run the code to see the output here...