Using this extention, "Display Random Image from Folder in OBS Image Source"

Is there a way to grab just the file name and populate that to an OBS Text source… not the path or the extension. %randomImage% gives me the whole thing, path, name, extension. I would like to use the file name as a title for the image being displayed.

Display Random Image from Folder in OBS Image Source - Extensions / Approved - Streamer.bot Extensions