one expression would be something like this: ``` concat("https://", substring(http.host, 0, -12), "n

one expression would be something like this:
concat("https://", substring(http.host, 0, -12), "newsite.com", http.request.uri.path)
// Where -12 is the character count of your original domain. This works on apex or subdomains

and you could just do hostname starts with olddomain.dev

the forum post with them saying they're going to add proper wildcard matching in ruleset engine is here:
https://community.cloudflare.com/t/page-rules-are-now-deprecated-without-good-replacements/656245/2?u=chaika
Specific excerpt
I can confirm that Managed Redirects are indeed on our roadmap, and wildcard pattern matching is a priority for us. We’ve been actively working on integrating these features into our new Rules products, with plans to roll them out later this year. Rest assured, we won’t enter maintenance mode without these enhancements.
Was this page helpful?