From: Jeremy Heiler Date: 2011-06-30T22:35:06+09:00 Subject: Re: A File Renamer On Thu, Jun 30, 2011 at 1:48 AM, Mayank Kohaley wrote: > [snip] Is there a pattern to the file names you are working with? The key is to find a pattern and write code to work with that pattern. If the pattern requires a lot of heuristics, then it's going to be more difficult to do, but not impossible. For a example, with your previous example, how would you know when the move name ends and the meta data begins? It might be possible to keep an array (or a hash) of the meta data, _split_ the file name on some delimiter (such as a dot) and _filter_ out items that are contained in the array (or hash).