There are some local file links existed randomly in my org-mode file. most of them are image links, like (file:images/samples.png) along with some other urls. What I want to do is that parse all these links from the file and store them in a lisp list for afterwards use.
Here is a sample file:
* headline1 [[file:images/sample1.png][description1]] * headline2 [[file:images/sample2.png][description2]] [[http://www.google.com]]
After parsing, a list of all file links should obtained.
(list "images/sample1.png" "images/sample1.png")