Password Regex for JS

I am looking for a good regex for a password validation. I have searched the web for the code but everything I find seems to give me a syntax error in DW. Does anyone have one that will work? I just need a typical password regex.
Thanks