$a = "C:\Communication..."; ($b) = $a =~ m/.*\\(.*)/; [download]
In reply to Re: Regexp match filename, exclude path by bichonfrise74 in thread Regexp match filename, exclude path by cormanaz