Regex URI matcher and prefix replacement/stripping

Hello,

we have a situation where we need not only to use:

http:
- match:
  - uri:
      prefix: /something
  rewrite:
    uri: "/"

But also to use regex matchers. Workflow we are trying to achieve is:

there are two requests /something/do/1000 and /something/do/111

/something is stripped
/do/1000 - routed to service x
/do/111 - routed to service y

While separately we can achieve both requirements, we are struck with achieving both. Is this even doable with Istio? Traefik had ReplacePathRegex.