Answers for "regex for decimal and integer"

1

decimal regex

decimal regex: ^d*.?d+$
Posted by: Guest on September-08-2021
0

number between 0 and 5 with decimals regex

[+]?([0-4]*.[0-9]+|[0-5])

Validates a number between 0 and 5 including decimals
Posted by: Guest on November-30-2020

Browse Popular Code Answers by Language