I'm trying to replace the / separator in the value of URL param1 parameter with \, but I can't figure how to do it without changing it for all parameters like param2
For example
param1=abc/def/123¶m2=abc/def/123
I would like to become
param1=abc\def\123¶m2=abc/def/123
Here is a regex101 example
(param1=.+?)\/with\1\\? regex101.com/r/2RRLKf/1