I want to validate an input in real time way.
The input has type text and must validate only an input having : number(s) and/or floating point or comma.
Also the input accepts only two numbers after the floating point/comma.
Examples :   

- 12.23    Valid  

- 12,23    Valid  

- 12.2      Valid   

- 12,02    Valid  

- 2           Valid   

- 12.035  Invalid  

- 12.36E Invalid  

- test       Invalid