chen li wrote:
> Hi folks,

Hello,

> I have a folder containing a child folder and other
> files. I want to print out the BMDC4-2.001 to
> BMDC4-2.024 only and the file format is (string/number
> or mix).number. Which regular expression is used to do
> the job? 


/\ABMDC4-2\.0(?:0[1-9]|1[0-9]|2[0-4])\z/



John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to