|
From: | Brandon J. Van Every |
Subject: | [Chicken-users] calling all regex gurus |
Date: | Thu, 30 Mar 2006 16:47:28 -0800 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
$ chicken -version) ___ (__/_____) /) , /) / (/ _ (/_ _ __ / / )__(_(__/(___(/_/ (_ (______) Version 2, Build 3 - windows-mingw32-x86 - [ dload ptables ]
(c)2000-2005 Felix L. WinkelmannSo how do I write a regular expression to rip out the "2" in "Version 2," and the "3" in "Build 3" ? For simplicity this can be 2 different regular expressions, it doesn't have to be done in 1 go. I'm reading various regex howtos, but there's a learning curve and if anyone knows how to do it off the top of their head, I'd learn faster. :-)
Cheers, Brandon Van Every
[Prev in Thread] | Current Thread | [Next in Thread] |