Related Post: Python Regex Check If String Contains Only Letters Python Regex Check If String Contains Only Specific Characters