Test, validate and match regular expressions
Matches a cookie string containing an 'osf' parameter, capturing its value until a semicolon, pipe, or whitespace. Useful for extracting session or tracking tokens from HTTP Cookie headers. The ^ and $ anchors with the gm flag allow matching each line in multiline input.