Need a regex, I suck at regex's
Hi, I'm working on a 6000 line file full of document links that I need to html tag for a web page. I got the file by doing an 'ls -ltRa' of my server document directory. The output I got goes something like this:
What I want to do is use a regex to make the path an html tag and then use the document name as the reference to the path. But, I want to keep the filename in the path AND use it in the HREF. Any suggestions would be appreciated.