Hello,
So you can do it in two ways-
1# Creating Transforms on VCS-C or E according to call flow.If your dialled number matches with Transform it will change the dialled number accordingly and then VCS-C/E will search for a search rule to send the call to desired destination.
2# Creating a search rule on VCS-C and E and point to target zone where you wanted to send the call. for example-

You can also test whether the pattern you made is correct or not by navigating to Maintenance -->Tools --> Check pattern
For more details regarding Transforms and search rules please refer the VCS admin guides (Under "About Transforms and Search Rules")-
https://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/vcs/admin_guide/Cisco-VCS-Administrator-Guide-X8-11-3.pdf
Thanks
Please rate if it is helpful...