I need help with regex_replace.
So far I tried setting it up so that from a $request_uri I only get the "clean" route.
Meaning:
"/api:some-id/my-route" --> should become --> "/my-route"
But my Regex always returns null. This is the first time working with Regex for me.
How can I use regex_replace?
Answered
1 reply