# Help required for file renaming when cleaning

**URL:** <https://discourse.jabref.org/t/help-required-for-file-renaming-when-cleaning/1080>\
**Category:** Help\
**Created:** [March 14, 2018, 3:41pm UTC](https://discourse.jabref.org/t/help-required-for-file-renaming-when-cleaning/1080 "2018-03-14T15:41:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.EU](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@Mr.EU](https://discourse.jabref.org/u/Mr.EU)\
**Post date:** [March 14, 2018, 3:41pm UTC](https://discourse.jabref.org/t/help-required-for-file-renaming-when-cleaning/1080/1 "2018-03-14T15:41:22Z")

</div>

I have **\bibtexkey\begin{title} - \format[Replace("(.{90}).\*,$1", RemoveBrackets]{\title}\end{title}** for renaming pdf files when cleaning. But this does not work currently.  
Found [this link](http://discourse.jabref.org/t/file-rename-feature-broken-in-4-1/982).  
i.e., **[bibtexkey] - [title]**. But how to truncate the file name upto certain nuumber (say 90 or 100).  
Basically, I want to replace the 1st expression to make things work, but not able to do it.
