@@ -0,0 +1,686 @@
+%22%22%22%0A Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.%0A%0AFor example,%0A%22A man, a plan, a canal: Panama%22 is a palindrome.%0A%22race a car%22 is not a palindrome.%0A%0A Note:%0AHave you consider that the string might be empty? This is a good question to ask during an interview.%0A%0AFor the purpose of this problem, we define empty string as valid palindrome. %0A%22%22%22%0A%0Aclass Solution(object):%0A    def isPalindrome(self, s):%0A        %22%22%22%0A        :type s: str%0A        :rtype: bool%0A        %22%22%22%0A        import re%0A        if not s:%0A            return True%0A        else:%0A            s = re.sub('%5B%5E0-9a-zA-Z%5D', '', s).lower()%0A            return s==s%5B::-1%5D%0A

Create ValidPalindrome.py