Related Post: How To Check If A String Contains Special Characters In Python How To Check If A String Contains Only Special Characters In Python