Test, validate and match regular expressions
Matches a string that begins with the digit 2, 6, or 7, followed by exactly three digits, and optionally a separator (space, hyphen, or dot) and four more digits. This pattern is useful for validating formatted phone numbers or account identifiers with a specific prefix and optional extension.