Two more examples of Bridge renaming using Regular Expressions…
1. Use brackets around your RegEx search in Find to set a group which can be backreferenced in Replace:
2. find “yyyy-mm-“:
3. Split file name at a marker (remove all characters before a set unique/special character)
Example – have to supply images to devs named only by numerical ID (don’t ask) but want to keep a descriptive name on the PSD.
So named the PSD something like this: “My-nice-name#12345.psd” – need to deliver “12345.jpg”.
NB the hash character splits the two parts of the name and should only appear there.
Saved for web as “My-nice-name#12345.jpg” then run through Bridge renaming with the following RegEx setup:
4. replace the undersorces with hyphens in “jkjkjkjkj_aa_jkjkjkjk”:
See also cheatography.com