Create a Regular Expression for the following:
The set of all signed or unsigned integers and real numbers in decimal notation. No leading zeros should be generated, and real numbers must have at least one digit on both sides of the decimal point. For instance, 3, +3, -3, 0,+0, -0, 0.328, 1009.46, +100.80 and -100.3 are in the language but 123., .25, +, -, 003 are not.
Get Answers For Free
Most questions answered within 1 hours.