Palindrome Checking Machine

A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, upper/lower case, and spacing.

To resolve if the word or sentence is a palindrome, the code will remove all non-alphanumeric characters, and will turn everything into lower-case in order to check it.

Result
Futuristic palindrome checking AI typewriter.