Test, validate and match regular expressions
Matches a ticket identifier consisting of an uppercase 'T' immediately followed by exactly seven digits (e.g., T1234567). The character class [T] matches only the literal letter T, while \d{7} requires precisely seven numeric characters. With the global flag enabled, it finds all such ticket numbers throughout a string. Ideal for validating or extracting ticket/reference numbers in support systems, logs, or forms.