How to make a this specific Pattern [closed]

There’s two different ways to go about this:

  1. Build a parser – much work, but very flexible and possibly best performance (depending on implementation)

  2. Use a regular expression. In your case this could be something like (\d{2,3}\.)+\d{2,3} (shortest string matched should be "111.11")

Leave a Comment