Would something like this not work (python code here, but I'd imagine it's straightforward enough)? # Data is https://sqlite.org/download.html m = re.search("PRODUCT,(.*sqlite-dll-win32.*zip),([0-9.]+),", data); url = "https://sqlite.org/" + m.group(1) ver = m.group(2)