Using Vbscript Validation Tab to format/change a text type property.

I need to use the Vbscript Validation Tab to format/change a text type property that has a maximum length of 8 characters with the following format: #####-###

Could anyone help with some example script?

Thanks for any help!