Regular expression for version numbers

What about this:

\d+(?:\.\d+)+

Leave a Comment