I wanna use regular expression to match numbers, but didnt use it for a while, so I kinda forget. Can anyone help me validate what I have is correct or not?
So numbers like -5.4, 5, 5.0 should be fine. There is no limit of how many digits I can have before and after decimal point.
So numbers like -5.4, 5, 5.0 should be fine. There is no limit of how many digits I can have before and after decimal point.
\\-[0-9]+\\.[0-9]*