Test, validate and match regular expressions
Validates passwords that are 7 to 15 characters long and must contain at least one uppercase letter, one lowercase letter, one digit, and one special character (e.g., !@#$%^&*() and various punctuation). It uses chained positive lookaheads to enforce each rule independently, then matches the entire string. Ideal for signup/change-password forms enforcing password strength policies in JavaScript.