Then you'll need to use regex:
[{
"id": 1,
"action": {
"type": "redirect",
"redirect": {
"regexSubstitution": "\\1"
}
},
"condition": {
"regexFilter": "[?&]string=([^&]+)",
"resourceTypes": ["main_frame"],
"requestDomains": ["domain.com"]
}
}]
Note that this will only work if the parameter value is not percent-encoded, otherwise the URL will be invalid like https%3a%2f%2fother-domain.