The JadeEditMask control must use some form of RegEx. Are you looking to validate user input ?
Otherwise Allistar's external function approach sounds like the way to go. You could even wrap it up and release it as a new JadeRegEx class for the rest of us to use.
jls.