Build, test, and debug regular expressions
This regular expression matches a specific custom identifier or record format spanning a single line. It begins with one or two words separated by an optional hyphen or space, followed by a space and a single letter ranging from A to B (case insensitive). The pattern concludes with a space and a 9-digit number, accepting either a continuous string (like 123456789) or a space-separated format (like 123 456 789). It is ideal for validating structured text logs, file lines, or specialized user IDs.