lundi 2 avril 2018

How to limit a match (regex)?

How can I limit the number of items in the expression to be in range of {0, 30} (or, rather, not exceeding 30) given the following regex:

((ID)?([A-Z]{2,3})?(\\d{0,9})?(\\d)?(\\d{0,12})?([KS5<\\?]{0,3}))

Aucun commentaire:

Enregistrer un commentaire