I have a URL string like this:
https://abc.abc.com/appp.WApi/api/v1/endpoint/picklist/?password=mypassword&username=myuser
I want to filter out the password and replace it: https://abc.abc.com/appp.WApi/api/v1/endpoint/picklist/?password=PLACEHOLDER&username=myuser
How can I do this with regular expressions?
I tried to do this: replace(/password=*&/, 'PLACEHOLDER');
and this:
replace(/password=(.+)&/, 'PLACEHOLDER');
but it did not work