1st exp) Not correct, firstly because these are not the only versions the expression should match, secondly because you didn't escape the '.' chars..
2nd exp) This is just the opposite, matches a lot more, even versions that don't exist at all, like 6.69 - you don't need the group there btw
qwerty's expression is pretty simple already, provided that you know a little regex..
Last edited by cold; 05/12/03 10:57 PM.