in reply to Regexp match filename, exclude path

Can you try something like this?
$a = "C:\Communication..."; ($b) = $a =~ m/.*\\(.*)/;