Tagged: Integer Regex

Integer and decimal number regex

Integer & Decimal Number Regular Expressions

/(?:\d*\.)?\d+/g OR /(?:\d*\.?\d+)/g In the above expression we are having various different symbols and I am sure that you all are getting confused with this scary regular expression. But no need to get confused here because it’s the normal expression...