^start of line
.*any Unicode character (except for line terminators), repeated any number of times
:the literal : (5810 / 728 / 3A16)
\s*a Unicode whitespace character, repeated any number of times
Bus Number: Departurethe literal text Bus Number: Departure (case sensitive) \s*a Unicode whitespace character, repeated any number of times
\na line-feed (newline) character (ASCII 10)
Bus code:the literal text Bus code: (case sensitive) \s*a Unicode whitespace character, repeated any number of times
Negated Character Class[^ ]+ +matches at least one character outside the set below:
the literal (3210 / 408 / 2016)
\sa Unicode whitespace character
Negated Character Class[^ ]+ +matches at least one character outside the set below:
the literal (3210 / 408 / 2016)
\sa Unicode whitespace character
Negated Character Class[^\n]+ +matches at least one character outside the set below:
\na line-feed (newline) character (ASCII 10)
*matches any number of characters from the set below:
the literal (3210 / 408 / 2016)
\ta tab character (ASCII 9)
Non-Capturing Group(?:\n|$) \na line-feed (newline) character (ASCII 10)
?repeats the group contents below at most once:
Non-Capturing Group(?:[^\n]+\n)+ +repeats the group contents below at least once:
Negated Character Class[^\n]+ +matches at least one character outside the set below:
\na line-feed (newline) character (ASCII 10)
\na line-feed (newline) character (ASCII 10)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string