in reply to Quick Regex question
use strict; use warnings; my @path = split(/\\/, "c:\\windows\\desktop\\pic3.jpg"); print pop(@path); [download]
Note the escaped "\" character.
---- Coyote