http://www.perlmonks.org?node_id=267785


in reply to Simple filename regex help

/^([a-zA-Z\d_-]+)\.html$/

a single dot would match one or none character, but only by chance another dot.

Have a nice day
All decision is left to your taste

Replies are listed 'Best First'.
Re: Re: Simple filename regex help
by Anonymous Monk on Jun 21, 2003 at 11:10 UTC

    That's what I was looking for, thanks :)