## Examples for REN-FILE.VDM Since Regular Expressions may be a bit complicated it may help to have some examples for usage with REN-FILE.VDM. 1) Renaming all .txt files to .doc files Old name: (.*)\.txt New name: \1.doc 2) Renaming test*.txt files to .doc files with additional name modification. The leading string "test" should be renamed to "prod" Old name: test(.*)\.txt New name: prod\1.doc 3) Files named like abc567.txt or Z9123.txt should be renamed to DATA-567.abc DATA-9123.Z Old name: ([a-z]+)([0-9]+)\.txt New name: DATA-\2.\1 4) Add an additional digit to numbered files Old name: (.* )([0-9][0-9])([we]_)(.*)\.jpg New name: \10\2\3\4.jpg Example: "IL03 016s 10w_001.jpg" --> "IL03 016s 010w_001.jpg" "IL03 025n 015e_001.jpg" (untouched) 5) Force all .doc files to UPPER-case with no further renaming Old name: (.*)\.doc New name: [x] Force the renaming to ( ) lower or (o) UPPER case 6) to be continued ...