I\'m trying to write a regex that will parse out the directory and filename of a fully qualified path using matching groups.
so...
/
Try this:
^(.+)\/([^/]+)$
EDIT: escaped the forward slash to prevent problems when copy/pasting the Regex