Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: runnyroxy pe Simpatie.ro
 | Femeie 25 ani Suceava cauta Barbat 26 - 57 ani |
|
Mrrrr
AdMiN
 Inregistrat: acum 18 ani
Postari: 2273
|
|
I have been meaning to renaming something like:
Xxxxx, Yyyy Zzzzzzzz - Aaaaa Bbb Cccc Ddddd v2.0 {Eeeeee}.doc
to
Xxxxx, Yyyy Zzzzzzzz - Aaaaa bbb cccc ddddd v2.0 {eeeeee}.doc
In other words change to sentence case only after the "-" character.
Of course the words Xxxxx, Yyyy, Zzzzzzzz, Aaaaa, Bbb, Cccc, Ddddd, Eeeeee have various lengths.
This you can do with a checkmark in "v2", then using a Match and Replace like... (.+? - [A-Z])(.+) $1\L$2
The \L is conducting "Lowercase" to everything after the very first " - [A-Z]". |
Note: v2 under RegEx is only available in the newer versions, eg. 3.4.1.0 and maybe a bit older but from 3.x.x.x
Credits to @Luuk from BRU forum:
_______________________________________

|
|
pus acum 4 ani |
|
Mrrrr
AdMiN
 Inregistrat: acum 18 ani
Postari: 2273
|
|
Bulk Rename Utility - RegEx v2
Code:
Original: AAAAA BBBBB - CCCC DDDD EEEE.pdf
Expectation: BBBBB, AAAAA - CCCC DDDD EEEE.pdf
Match: (.*?) (.*?) (.*)
Replace: \2, \1 \3
Explanation:
(.*?) = first item before a space (AAAAA)
(.*?) = second item before a space (BBBBB)
(.*) = the rest of the file name ( - CCCC DDDD EEEE.pdf)
\2, = the second item followed by comma (BBBBB,)
\1 \3 = the first and third item (AAAAA - CCCC DDDD EEEE.pdf) |
_______________________________________

|
|
pus acum 4 ani |
|
Mrrrr
AdMiN
 Inregistrat: acum 18 ani
Postari: 2273
|
|
Updated post #2 with explanations.
_______________________________________

|
|
pus acum 20 ore |
|