From: Justin To Date: 2008-07-02T07:18:38+09:00 Subject: RegEx version: 1. abc 600-qwer 2. abc600-qwer 3. abc 6.0.0-pedfs 4. abc 6.12.23-45 5. abc 5.0.6.0 etc... I want to be able to identify which version is version 6, version 5, etc.. I'm not sure if a regex is the best way. I need to be able to say that #1-4 are version 6 and #5 is version 5. But I need to be able to identify versions 1-8. Also, what if I need to identify, specifically, version 5.5 and 5.6? Thanks -- Posted via http://www.ruby-forum.com/.