Home > front end >  Regular expressions
Regular expressions

Time:11-04

Two simple regular expression: 1. The number and less than 12000000 (2) Numbers and less than 50000

CodePudding user response:

Actually no one came to, "post.

CodePudding user response:

ParseInt again is not better?

CodePudding user response:

refer to the second floor sorry reply:
parseInt again is not better?
vue is not very good, here to write so, circle place is regular, now want to add 2

CodePudding user response:

/^ (1 [0, 1] \ d {6} | \ d {1, 7}) $/
/^ ([1-4] \ d {4} | \ d {1, 4}) $/
  • Related