Regular Expression: Get filename from ls -l command

Handy little regular expression for pulling the filename portion out of the lines of the “ls -l” command

I'm not sure how useful this will be to anyone, but I used it to clean up a very large listing of files from a Linux server I work on. The directory in question had a large number of files and symlinks in it. I wanted to nix all the extra junk in front of the filenames themselves (the attributes, owners, filesizes, etc.).

Regular Expression Code

^[lrwxd\-]{10}\s+[0-9]{1}\s+(root\s+|webdev\s+|csource\s+){2}([0-9]+)*\s{1}200[6|7]\-[0-9]{2}\-[0-9]{2}\s[0-9]{2}:[0-9]{2}\s(.+)$