http://my-app-server.com/rules
. You have cloned the API server, made some changes and running it locally on http://localhost:4000/rules
. Now, you want to test your app with the new changes done on API server.localhost
instead of my-app-server
. Once your testing is done revert this change.http://my-app-server.com
with http://localhost:4000
in all URLs. No need to change url inside your code. After your testing, just disable the rule. As simple as that.?dl-0
to ?dl=1
in dropbox URL downloads the file directly without going to the usual preview page. Such a simple use case of Replace Rule.JS Based Regex
in the Urls and you can replace them with another string. Please note in case of Regex pattern, you can also use the values of group expressions in your regex and use them in final strings. For Example:.jpg
.jpg
in this case