in reply to extracting numbers from a string
But to give you a start, try this: ($x,$z) = $filename =~ /(\d\d)-(\d\d)/;for the first two numbers. The others are left as an exercise.... or just fill in modred's regex.
Jeroen
"We are not alone"(FZ)
Update: Thought you might as well have a look at 7 Stages of Regex Users
|
|---|