in reply to Simple Regex needed

With $path = "/usr/local/bin/foo" ..

--t. alex
Life is short: get busy!