Matching filename to record name

Discussion created by bkalina on Mar 26, 2018
Latest reply on Mar 27, 2018 by beverly

I'm trying to import images that are exported out of Premiere.  Each image has a name based on a shot number EX: SC001_A002_032618.jpg (File structure Project Episode_Act Scene_date.extension).


I want to import these and link them with the record that they match, the record is just the file name without the date or extension.  So


SC001_A002_032618.jpg would match with SC001_A002


Any suggestions on how to handle this on the import script?