How to? Use regular expression with REN?

Oct 20, 2017
28
0
Netherlands
I read on page 522 of the userguide that REN supports regular expression. The syntax is: REN ::filename ::target.

Question: Can you give me syntax examples how to use regular expression with REN?

Thanks
 
May 20, 2008
10,573
78
Syracuse, NY, USA
Here's another.

Code:
v:\new\old> ren ::(a)b(c)d(e).txt ::\1\2\3.txt
V:\new\old\abcde.txt -> V:\new\old\ace.txt
     1 file renamed