Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




RegEx validation for Custom Fields

web-app

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
angestar
Replies (1)
helpful
0
not helpful

Your slash is the wrong way... should be \d
See http://regexlib.com/


Mark Wing
· 9108
Mark Wing