\ban ASCII word boundary
\d+a digit, repeated at least once
the literal (3210 / 408 / 2016)
Non-Capturing Group(?:-|to) -the literal - (4510 / 558 / 2D16)
tothe literal text to (case sensitive) the literal (3210 / 408 / 2016)
\d+a digit, repeated at least once
\s?optionally matches any whitespace character
Non-Capturing Group(?:km\/hr?| k?mph) kmthe literal text km (case sensitive) \/the literal / (4710 / 578 / 2F16)
hthe literal h (10410 / 1508 / 6816) (case sensitive)
r?optionally matches the literal r (11410 / 1628 / 7216) (case sensitive)
the literal (3210 / 408 / 2016)
k?optionally matches the literal k (10710 / 1538 / 6B16) (case sensitive)
mphthe literal text mph (case sensitive) \ban ASCII word boundary
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