Unfortunately there is no such setting to block specific characters.