DEV Community

loading...

Answer: Decimal or numeric values in regular expression validation

Carlos Azuaje
Updated on ・1 min read

Actually, none of the given answers are fully cover the request.
As the OP didn't provided a specific use case or types of numbers, I will try to cover all possible cases and permutations.

Regular Numbers

Whole Positive

This number is usually called unsigned integer, but you can also…

Discussion (0)