Silly one I can't get my head round. I'm trying to strip the uploaded file's path off:
[% f2 = upload.filename.replace('/(.+)$','$1') %]
Any offers?
Silly one I can't get my head round. I'm trying to strip the uploaded file's path off:
[% f2 = upload.filename.replace('/(.+)$','$1') %]
Any offers?