Strip path in FileLink

Hi folks,

I need to be able to use the export filter to output the filename without the entire path. This is because I will copy the resulting file (HTML) elsewhere to be shown online. I tried to use \Replace functionality, but I’m not sure where that goes in the format nor how to use special chacters. The use of \ caused an error in the exporter. This line runs fine but fails to do the replacement part:

\format[FileLink(pdf),Replace(“C:\Users\tgkolda\Documents\pubs\bibfiles,pubfiles/”)]{\pdf}

Thanks in advance for any assistance.