Introduction
We are excited to announce a new feature that enhances the postMessage domain configuration by providing JavaScript-based regex pattern support. This addition aims to assist users who have applications with multiple subdomains, enabling them to maintain minimal configurations while achieving greater flexibility. Overview
Previously, users were only able to enter exact domain values in the allowed domain list for post message configuration. However, we understand that managing multiple subdomains can be challenging and time-consuming. To address this, we have implemented regex pattern support, empowering users to leverage the power of regular expressions to define wildcard rules for their domain configurations.
Examples
Regex Pattern | Sample Domains | Description
|
https://[a-z0-9]{0,7}.zylker.com | app101.zylker.com | Matches subdomains of zylker.com with 0-7 alphanumeric characters.
|
| abcde123.zylker.com |
|
| zylker.com |
|
https://demo[0-9]{0,3}.zylker.com | demo101.zylker.com | Matches subdomains of zylker.com starting with "demo" followed by up to 3 numeric characters. |
| demo5.zylker.com |
|
| app50.zylker.com |
|
https://localhost:[0-9]{0,4} | | Matches URLs starting with "https://localhost:" followed by up to 4 numeric characters. |
| |
|
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
This support is available only in Zoho Writer service now.