Currently I rename all files I download to have nothing more than lower-case "a-z", digits "0-9", and the hyphen "-"; I run multiple Search & Replace commands on a multi-selected group of files:
"<space>/-" (all spaces to hyphen)
"_/-" (all underscores to hyphen)
"--/-" (all double hypens to single hyphens, repeated multiple times until no replacements)
This requires a lot of clicks: 3x rclick -> Rename Special -> Search & Replace -> pick the replacement string, then 2x or "--/-" until there are no more multiple hyphens left. If I see any "oddball" characters in the filenames, I also do a "rclick -> Convert to ASCII" to convert them to my simple format.
Is this something I can make a script for? I'm pretty sure each of the Search & Replace commands can be done, but I'm confused how to operate on all the files I have multiple-selected. Examples of such scripts would be helpful.
Or is a "RegEx" operation more appropriate? I don't speak RegEx; to be honest, it scares me.
Cheers!
XYplorer Beta Club