I try to extract the filename from a path in my attribute table in QGIS.
regex_substr should be the way to go I assume, but testing all kinds of example from the web did not work out.
I have images which I want to link, but the original pathes are not valid anymore, cause all images from different people went into one single folder now.
Example paths:
./20170608-attachments/p__20170608_122128.jpg
./20170603-attachments/p__20170603_095124.jpg
here I would just like to populate a new field with p__20170608_122128.jpg
etc. only.
A solution, that would give me the rest of the string after the last /
would be the most versatile one in my case, I assume.
Any ideas?