I have following string 3.14, 123.56f, .123e5f, 123D, 1234, 343E12, 32. What I want to do is match any combination of above inputs. So far I started with the following:
^[0-9]\d*(\.\d+)
I realize I have to escape the . since its a regular expression itself.
Thanks.
[0-9]
and sometimes\d
?D
what is and what modifiers it's compatible withabove inputs
?