I want the EURO format to be accepted only in the following forms.
Three digits with "." Be segregated.
i found this expression but not work in my way:
^(0|(([1-9]{1}|[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{2}){1}(\ [0-9]{3}){0,})),(([0-9]{2})|\-\-)([\ ]{1})(€|EUR|EURO){1}$
I want it to be exactly like the following:
1.123,45
1,23
1.234.567,45
0,56
I want two digit cent to be mandatory.
thanks