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!\\";#\\$