Delete or Rename first solo Character in directory

Advanced Renamer forum
#1 : 19/05-21 13:06
Andy
Andy
Posts: 4
I´ve no idea how i can rename only directorys named with a single character like

"A" into "#A#" Directorys like "Adams" should be untouched.

Thanks for our Ideas


19/05-21 13:06
#2 : 19/05-21 17:36
David Lee
David Lee
Posts: 1125
Replace: "^(.)$"
With: "#\1#"
Use regular expressions

This will rename any single character as you specified.

"^" & "$" specify the beginning and the end of the string respectively.


19/05-21 17:36
#3 : 20/05-21 08:15
Andy
Andy
Posts: 4
Reply to #2:
gorgeous! Works perfectly -thanks. Saves me a lot of Handwork.


20/05-21 08:15