I need to extract a file name from a path (i.e.
/usr/local/bin/foo How can I grab 'foo' from the path? [download]
In reply to Simple Regex needed by Anonymous Monk