Test, validate and match regular expressions
Validates a password that is at least 8 characters long and consists only of letters and digits. Lookaheads enforce that the string starts with an uppercase letter, contains a digit within the first five characters, and includes at least one letter. Commonly used in JavaScript form validation to enforce alphanumeric password strength rules.