K3tchup Posted March 6, 2011 Report Share Posted March 6, 2011 In case anyone has any use for it. This is a core of a regex string that I use to catch version numbers: (\d*\.?\d*\.?\d*\.?\d+\w?\s?\(?\w*\-?\w*\)?) I modify it slightly for different programs. Change the place of brackets, add a prefix and/or suffix etc. I know it wouldn't need to be this complex for most program entries but this is kind of a good copy paste solution for me. It has limits but works for all my needs. This for example works for Firefox and Thunderbird non-english versions: your language.*?(\d*\.?\d*\.?\d*\.?\d+\w?\s?\(?\w*\-?\w*\)?) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now