Try /[a-z]*\d[2]/ -----Original Message----- From: Rafael Cotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: Matching string (here I am again)
First of all, special thanks to Drieux. I need to check if a string with the following patern: <lowercase characters><number><number>.html Like "cae01.html" or "djavan10.html" (without quotes). I tryied $musica =~ /([a-z]*)[0-9][0-9]\.html/ but this matches "djavan001.html", when this should not. Wich regexpr can I use? This time a link to a howto will be very welcome, once this is not the unique regexpr I'll need to build myself. Rafael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]