I don't quite understand regular expressions yet, and for this project I don't have time to learn it (but any great resources would be appreciated). Say I have this file name as a string:
Here is a solution using a minimal amount of regular expressions. The basename function is part of base R and it extracts just the file name from a full path.