From: Joe Pizzanley Date: 2010-09-09T23:43:23+09:00 Subject: regex help please? I've looked at regular expression documentation for hours, but I'm wondering if someone would have pity on me and just slip me the answer. What I want to do is get each of the item numbers on a list: onscreen: pens 1234-001 pencils 1234-002 scissors 2345-447 I'm thinking the numbers would go into an array... I'd be happy with any ideas. much thanks!! Joe -- Posted via http://www.ruby-forum.com/.