And what?? If I prepare the dropdown list for the available versions, on my html page through hard coding the list remains fixed for the user unless I choose to edit it. What is the way to allow the list to be updated automatically by checking online for the latest updates. So that the name of the latest version gets included in the list.
For some reason you're convinced you need to solve it through RegExp, and now I can confidently say, maybe you do, but you're leaving out way too many details.
How (Not) To Ask A Question