Test, validate and match regular expressions
Matches a 'queryStringParameters' key along with its full value in a URL query string, capturing everything up to the next ampersand delimiter and optionally including the trailing '&'. Typically used to strip or redact sensitive query parameters, such as names containing PII, from URLs in logs or API request records. The global flag ensures all occurrences are removed, while multiline handles text spanning multiple lines.