Is there a masked input field type for Craft?
I just wrote one! MN Match Input. You specify an Input Mask and the entry won't save if preg_match($inputMask, $value) isn't 1. So you get all the power of preg_match (lots of rope...)