I need a regex to match "C:\Test\AFile" from all of the following:
1: "C:\Test\AFile" 2: "C:\Test\AFile.abc" 3: "C:\Test\AFile.abcd" Can't seem to get it working. ((.*\\)*.*)(\....(.)?) matches 2 and 3, but not 1 ((.*\\)*.*)(\....(.)?)? matches 1 Any help appreciated. Cheers Dave