There are many organizations that will use multiple domains on the VCS. Due to this fact, matching domains can be very tricky. However, there is a regular expression for matching SIP domain in the VCS. The following is an example of how you can use regular expressions to create this match.
If the regular expression %localdomains% is used in a transform or search rule in the match field, all domains created in the VCS will be matched. If the regular express %localdomain#% is used in the behavior section of that Transform or search rule then only the domain from the list indicated by the # will be used in the replacement string.
For example, if a regular expression match was created of (.*)@%localdomains% with the behavior string as 1@%localdomain1%, then the VCS will take an incoming alias for any SIP domain on that VCS and change it to the first SIP domain in the list.
Therefore with SIP domains fish.com, whale.com, porpoise.com and turtle.com on my VCS, a call to email@example.com will be transformed into firstname.lastname@example.org. Likewise email@example.com will be turned into firstname.lastname@example.org.