Is it possible to automatically change the domain name value on an email address input in an eDocBuilder template?

The vbscript command below uses a regular expressions pattern to to match and replace the @ symbol, and everything following that symbol in the input, with a domain name specified in the second part of the statement below.
This needs to be used on a field that is set for Data for this field will come from: Static Text or Field Scripting on the Field Type tab of your template. The name of the field that will have the email address input needs to replace 'inputField' in the script above.