validation help

A Simple Example using RegExp:

Insert your data number here:

I don’t know if this can help you, i hope.
See more: http://evolt.org/regexp_in_javascript.