Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

Rename File Name Help

$
0
0
Hi,
I have file lectures and I would like to change the nameing convention.
Currently, it has the format of {detail -} subject - author.wmv
I would like to rename with the nameing convention of author - subject { - detail}.wmv
 
Some observation, initialy, the author is at the end of the file name preceded by a seperator of minus sign.
{detail -} is optional and thus some file name utilize. Thus, we can have more than one minus sign as seperator but author name is always at end of file name preceded by the minus sign seperator.
 
Example file names;
e4 e5 - The Four Kn1ghts for Black - Vig0rito.wmv
e4 e5 The Sc0tch for Black - Part 1 - Vig0rito.wmv
2+1=2; A Practical Endgam3 Example from L1nares - P@schall.wmv
 
Result ( I would like. That is, lecturer seperator topic )
Vig0rito - e4 e5 - The Four Kn1ghts for Black.wmv
Vig0rito - e4 e5 The Sc0tch for Black - Part 1.wmv
P@schall - 2+1=2; A Practical Endgam3 Example from L1nares.wmv
 
Purpose, I would like to access material by author.
Thank in advance for your help.

Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>