wide-cartoon-5349
10/07/2024, 6:10 PMorange-terabyte-33302
10/07/2024, 6:10 PMorange-terabyte-33302
10/07/2024, 6:11 PMregex https?:\/\/(www\.)?example\.com\/pricing\/?
Or you can match just the path: regex ^\/pricing\/(pro|enterprise)
However, writing regular expressions for URLs can be error-prone, so it's important to be careful and make sure to escape all special characters that you don't want to be interpreted. As for redirect tests, GrowthBook allows you to specify an "Original URL" and "Destination URLs" for each of your variations. When a user visits the Original URL and is included in the experiment, they will be assigned a variation and then redirected to the destination URL. However, the documentation does not explicitly mention the use of regex in these URLs for redirect tests. For more details, you can refer to the [GrowthBook documentation on Visual Editor](https://docs.growthbook.io/app/visual#regex-targeting) and [URL Redirect Testing](https://docs.growthbook.io/app/url-redirects).