Test, validate and match regular expressions
Matches lines consisting solely of alphanumeric characters that contain at least one letter, while rejecting any line with two or more consecutive digits (enforced by the negative lookahead). Useful for validating usernames, identifiers, or normalized strings where isolated single digits are permitted but multi-digit sequences are forbidden. The gm flags allow it to validate each line independently in multiline input.