I have experimented with a regular expression that matches strings containing zero or more occurrences of "%" and "&", but returns false if "@" or "$" is found:
^((%&)*(?!@).)*$
Now, I require a regex pattern to validate strings that must contain at least 2 special characters from the set (%&), while returning false for any other special character present.