Re: Re: need help for regxp

2006-10-20 Thread Tom Phoenix
On 10/20/06, Rob Dixon <[EMAIL PROTECTED]> wrote: regexes can only match character patterns and can't make decisions based on the numerical value of part of a string. That's misleading; matching character patterns *allows* one to make decisions based on the numerical value of part of a string.

Re: need help for regxp

2006-10-20 Thread John W. Krahn
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

Re: need help for regxp

2006-10-20 Thread Rob Dixon
chen li wrote: Hi folks, 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? Thanks, Li contents in the folder folder

need help for regxp

2006-10-20 Thread chen li
Hi folks, 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? Thanks, Li contents in the folder folderx Analysis-1.wsp B