in reply to Quick Regex question

use strict; use warnings; my @path = split(/\\/, "c:\\windows\\desktop\\pic3.jpg"); print pop(@path);

Note the escaped "\" character.

----
Coyote