How do I assign a numeric regular expression to a PDF form field?

Q: How do I assign a numeric regular expression to a PDF form field?
---------
A: You would need to associate a JavaScript action to a Widget.

As a starting point you may want to take a look at Acrobat JavaScript
Reference (http://www.adobe.com/devnet/acrobat/javascript.html).

For example, the following JavaScript string

AFNumber_Format(6, 1, 1, 0, "\u0024", true);

sets the field format to a decimal number with 6 decimal places, no
separator, and dollar ($) as a currency symbol. Please see Acrobat
JavaScript Reference Manual for detailed documentation on other
formatting commands.

For examples of how to embed JavaScript using PDFNet SDK (http://
www.pdftron.com/pdfnet) you may want to search this forum or KB
articles.