The problem of regular expressions

numbers between 99 and 9999999 (inclusive) with optional commas (1259)

the problem is that I don"t know how to solve the number 99, which is 99 [0-9] so it can only match 990-999, so if you don"t write it this way, do you start with 100 and solve it in the end or a 99? Then there is the problem of symbols. I looked up a lot on the Internet, but I didn"t see any examples

Apr.03,2022

doesn't look good (just enumerate the rules). The function should be implemented

  

this regular is a bit long to write, and there are examples in proficient regular expressions

.
Menu