The regular expression below is written now to require a capital letter. I was just told that capital letters are optional but not required. How can I write this regular expression without changing any of the other parameters to not make at least one capital letter required.
/^(?:(?!([a-zA-Z0-9-().&@?""#,+''\s\/])\1\1)[a-zA-Z0-9-().&@?""#,+''\s\/]){7,}$/
That regular expression already does not require an upper-case character. The only “interesting” things it insists on are that the string cannot start with the same thing repeated 3 times (the same character that is), and the overall string needs to be at least seven characters long.
Also the doubling of single- and double-quote characters in the regex is not necessary.