Test, validate and match regular expressions
Matches lines that start with '/communities/service/html/community' and captures up to the first '?' character, effectively extracting the base path of community service HTML URLs that include query strings. Useful for parsing server logs to identify community page requests, filtering traffic to community endpoints, or stripping query parameters for aggregation. The multiline flag (m) allows matching at the start of every line in multi-line input.