in reply to regex to match a literal dot near end of string
Still, I'd've done something like: /(.+)(\.\w+)$/ on the assumption that all my desired filename extensions would match \w+ .
They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen
|
|---|