2 Replies Latest reply on Feb 12, 2014 9:26 PM by arghfar

    Custom variable of filename, omitting certain characters

    arghfar

      I am interested in creating a custom variable where I can edit the document name.  For example, my document is called "Myfilename_001.indd".  I wish to omit everything except for the "001" because that is the version number of my file, and I want that to be the output.  Is this possible somehow?  Or would I need a script to help do this?  Ideally, it would be nice to do it in a way where only the last three characters of the document, sans extension, are the output (if this makes any sense)

       

      Thanks in advance

      -Tommy