$rex = \'/^[^<,\"@?=>|;#]$/i\';
I\'m having trouble with this regular expression. The idea is that the input fields are checked for certain chara
^ means beginning of line $ means end of line [] means match one out of a group of character
You will match lines containing one and only one among that list.