I use the below config to modify a request path. Is it possible to use a regex in the modify block to get the digits from the middle of the url and move them to the end? Can't really find an answer in the docs. I'm guessing some variant of replace?
"~^/api/foo/\\d+/bar": {
"modify":{
"path": "/api/foo/bar/14"
}
}