I am fairly new to regular expressions. I am trying to write a regex that will prevent a user from picking a password that involves the phrases pass, password, admin, and administrator. The best I have come up with is
\b(?!(\bpass(word)?\b)|(\badmin(istrator)?\b))\w+\b
However, this will not account for things such as "pass123" and previous attempts at correcting this regex have been unsuccessful. Any ideas to point me in the right direction?