G'day Monks,
I need some help with a regular expression. I need to parse through a scalar value and extract from it the following:
/some/path/to/a/file[some numbers here...don't know how many, but prob
+ably at least ten].ext
An example of what I need to extract would be: /home/monks/thanksforhelping1234567890.ext
So, basically, I need to extract the path of a file from this scalar, so I can eventually open a filehandle. I'm pretty new to pattern matching, so I'm having lots of trouble. Can anyone help, please?