"the literal " (3410 / 428 / 2216)
Non-Capturing Group(?:km|rua)+ +repeats the group contents below at least once:
kmthe literal text km (case sensitive) ruathe literal text rua (case sensitive) \s*any whitespace character, repeated any number of times
\D+?any character that's not a digit, repeated at least once
"the literal " (3410 / 428 / 2216)
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