RegEx validation for Custom Fields
Hello,
where can I find a reference which RegEx format is used for custom fields verification?
For example, I need to enter either an integer, or float value with one or two signs after comma. E.g. valid are "3", "33,0", "0,5" and "33,25". Invalid are "3,456" and "0.5" (because of point instead of comma) and of course "xyz" or something else.
I've tried even with the simple "/d" for a numeric value, but it still allows "xyz".
Thanks for your help, Anton
angestar
· 1 |
|
Tuesday, August 31, 2010, 11:09:03 PM |