this regex can detect any real number whether it is signed or unsigned.plus it can detect real number both with and without floating point aka '.'.the numbers should be decimal number

23
2.2245
+32.001
-1.1
-8.
-7
.005

Additional matching regexes for Regex for real number