What scripting system is implementing the RE matching? What class of RE can it use? (Perl RE, aka "extended regular expression", or TCL advanced RE, or must it be whatever egrep understands?) I still do not understand the objective. Can you state what information is to be extracted and to what purpose? I am guessing that you want to get a URL via which the downloadable product can be obtained via HTTP(S) GET and an indication as to what version it is. That is a low-level objective, in service of something like "Detect when a newer version exists, know what it is, and fetch it." Please state something more useful than a demand to change the existing product filenames. For all we know, others are relying on the existing format. Failing that, what are the constraints on the RE and what is this "template" and its function?