1826376 Members
4711 Online
109692 Solutions
New Discussion

Re: Another Perl RegExp

 
SOLVED
Go to solution
Kalin Evtimov
Regular Advisor

Another Perl RegExp

Hi!

I am trying to find the regexp, which will match file names like:

something_1.log

but not

something_1.log.20060409

Can you help me?

Thank you.
2 REPLIES 2
totoperdu
Frequent Advisor
Solution

Re: Another Perl RegExp

hello,

doest this regexp help you?:

*._1.log$

Cheers,
Cedrick Gaillard
Kalin Evtimov
Regular Advisor

Re: Another Perl RegExp

Yes, thank you, the $ was what I was missing the whole time..