PHP Regex preg_match: Unknown modifier

后端 未结 0 1598
情书的邮戳
情书的邮戳 2021-01-06 08:18

I\'m trying to make a function that allows a string only certain characters, but it\'s not working. Here is my code:

$passRegex = \'/[^A-Za-z0-9!\\";#\\$         


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