regex for amount with decimal code example
Example: number between 0 and 5 with decimals regex
[+]?([0-4]*\.[0-9]+|[0-5])
Validates a number between 0 and 5 including decimals
[+]?([0-4]*\.[0-9]+|[0-5])
Validates a number between 0 and 5 including decimals