^start of line
Non-Capturing Group(?:http|https) httpthe literal text http (case sensitive) httpsthe literal text https (case sensitive) :the literal : (5810 / 728 / 3A16)
\/the literal / (4710 / 578 / 2F16)
\/the literal / (4710 / 578 / 2F16)
wwwthe literal text www (case sensitive) .any Unicode character (except for line terminators)
pitchupthe literal text pitchup (case sensitive) .any Unicode character (except for line terminators)
comthe literal text com (case sensitive) \/the literal / (4710 / 578 / 2F16)
Group lang(?P<lang>[^/]+/)? ?repeats the group contents below at most once:
Negated Character Class[^/]+ +matches at least one character outside the set below:
/the literal / (4710 / 578 / 2F16)
/the literal / (4710 / 578 / 2F16)
campsites/the literal text campsites/ (case sensitive) Non-Capturing Group(?:(?!-/)[^/]+/){5} {5}repeats the group contents below exactly 5 times:
Negated Character Class[^/]+ +matches at least one character outside the set below:
/the literal / (4710 / 578 / 2F16)
/the literal / (4710 / 578 / 2F16)
\??optionally matches the literal ? (6310 / 778 / 3F16)
.*any Unicode character (except for line terminators), repeated any number of times
$end of line
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