PHP very strict complex string validation using preg_match
问题 I am trying to validate a string against the following regular expression which has been imposed upon me: [-,.:; 0-9A-Z&@$£¥€'"«»‘’“”?!/\\()\[\]{}<>]{3}[-,.:; 0-9A-Z&@$£¥€'"«»‘’“”?!/\\()\[\]{}<>*=#%+]{0,157} Can anybody help with writing a preg_match in PHP to validate an input string against this? I am struggling because: my knowledge of regex isn't that great in the first place I see special characters in the regex itself which I feel sure PHP won't be happy about me inserting directly into