\D*?any character that's not a digit, repeated any number of times
\d{3}a digit, repeated exactly 3 times
\D*?any character that's not a digit, repeated any number of times
\d{3}a digit, repeated exactly 3 times
\D*?any character that's not a digit, repeated any number of times
\d{4}a digit, repeated exactly 4 times
\s?optionally matches any whitespace character
.*any character (except for line terminators), repeated any number of times
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string