in reply to Probably silly regex question / not so silly regex question

With regards to question 1)if the extension is dot-free, try matching backwards from the end of the string, rather than from the beginning.

Question 2) I decline to answer on the grounds that I might incriminate myself.

  • Comment on RE: Probably silly regex question / not so silly regex question