[SOLVED] Need help with regular expression
Hello everybody!
Can somebody please help me with regular expression for QRegExp? I just hate them :(
I need to get from strings simple numeric strings:
7.5.5468 dev -> 755468
7.5.5468 pre -> 755468
7.6 -> 76
7.6 pre -> 76
7.7 beta1 -> 77 (without 1 on the end)
Thank you in advance!
2 replies
You must log in to post a reply. Not a member yet? Register here!



