Help with Dynamic Rule Rewriting

Hello I am reaching out for help with what should be a very simple solution that I am sure I am just overlooking, but at this point I need community help for a second set of eyes.

I am following the article: Dynamic URL Rewriting at the edge with Cloudflare

To create a Transform rule that can dynamically change a URL:

Basically I need to change:* (if the product starts with rdir-) to

It sounds like you need Regex, which is only available on Business and Enterprise plans.