Answer the question
In order to leave comments, you need to log in
How to do strict regex validation in js?
var regExp = (/^([0-9]+)([.]?)([0-9])\+|\-|\*|\/([0-9]+)([.]?)([0-9])\+|\-|\*|\//);
Answer the question
In order to leave comments, you need to log in
let's say I enter 24 + 2 (but I want to enter 24 + 25) he immediately considers equal
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question