From: Jens Luedicke Date: 2001-04-22T02:12:19+09:00 Subject: [ruby-talk:13991] regexp problem ... hi ... I want to rip the percent values from wget. I think that I'm on the right way of doing it, but somehow this doesn't work. io = IO.popen("wget --dot-style=micro " + url) out = io.readlines for i in out print /(.)(\d+)(%]\n)/.match(i)[2], "\n" end Comments? Suggestions? -- with friendly regards.... jens luedicke http://www.irs-net.com/ - C8H10N4O2 -