how to check if a string contains only specific characters in python?

后端 未结 0 1340
别跟我提以往
别跟我提以往 2021-01-02 05:45

I know this question been asked before but previous answers didn\'t help me so I\'m asking again. I want my string only have (a-zA-Z0-9@.-_) but when using this code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题