How to do a regex that requires or not a point between 2 numbers?
===

I wish to realise a regex that requires or not a point between 2 numbers.
I want to manage int and double numbers: the user can put a number such as "1" or also "1.5"
Thanks.