1
votes

Could anyone please advice best optimal regular expression to extract Version number from file names. Files of any type like JAR or any other type.

As individual teams are using there own ways to have version number like some added at start, some at end, some at middle, some with more info with version number etc. etc.

So, looking for a best optimal regular expression to get version number from file names.