Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please improve my n00b RegEx
#2
The only thing I might add is a $ on the end of the regexp to make sure that there is nothing after .txt.gz. Thus it would exclude ".txt.gz copy" for example.

You also probably want to escape the "." so that it won't match any character. I think it would be "\." instead of "." .
Reply


Messages In This Thread
Re: Please improve my n00b RegEx - by TheTominator - 02-08-2007, 04:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)