Regular expressions match numbers

this expression matches the number. What is the range of 5-99?

Mar.01,2021

const re = /^([5-9]|[1-9]\d)$/;
const re1 = /^0*([5-9]|[1-9]\d)(\.\d+)?$/; // 0

var reg = new RegExp ('[1-9] [0-9] | [5-9]')

wait for a more concise solution

Menu