Zend certified PHP/Magento developer

how to check if a special case character is in a google sheet cell? [migrated]

I working on google sheets files where any special case character (any character other than [a-z,A-Z,0-9] ) is forbidden so to confirm this condition is true I need to check that every character in the cell isn’t equal to any special case character.