I'm looking for a regex that will only match when there is NO extension in a file name.
test.doc = no match
testaaa = match
I can posititely find the '.' with /. but how can I negate this? I tried using (?!.) but I get a match on every character of the file name.
Thanks