I'm trying to develop a script that will autoformat alpha/numeric to place a "." every four characters. For this purpose, I would like to be able to input a set of numbers/letters into a field "0011e3125a31" and to autoformat to "0011.e312.5a31" .

I've tried to recode other snippets from the forms for auto formatting telephone numbers with no success.

Phone Formatting
http://forums.devarticles.com/javasc...mber-8147.html
http://www.kodyaz.com/content/howtoa...onenumber.aspx

Currency Formatting
http://javascript.internet.com/forms...cy-format.html



If anyone could help create this or point me in the right direction would be helpful.