Renaming only a Part in different Filenames

Advanced Renamer forum
#1 : 15/11-18 16:28
Ja Good
Ja Good
Posts: 2
I like to renaming only a Part in a Filename - how can I do it?

The First Groups are Date and Time, behind that I want to change (the second) "-" to "_in_", then comes a different Part of Characters and Numbers and File-Extentions

Examble:
20170920-1141-frank-adam_eve.pdf
20170922-1100-susanpeter-2.txt
20170920-1005-dennis-hopper_nyc_21a.doc

to

20170920-1141_in_frank-adam_eve.pdf
20170922-1100_in_susanpeter-2.txt
20170920-1005_in_dennis-hopper_nyc_21a.doc


15/11-18 16:28 - edited 16/11-18 00:08
#2 : 16/11-18 01:24
L B
L B
Posts: 11
Reply to #1:

Use Replace Method.

Text to be Replaced = (\d+)-(\d+)-(.*)
Replace With = \1-\2_in_\3

Check "Use Regular Expressions"
Apply to "Name"

This should work for all the cases you give here.


16/11-18 01:24
#3 : 16/11-18 09:04
David Lee
David Lee
Posts: 59
Reply to #2:

Can be simplified to:

Text to be replaced: (\d+-\d+)-
Replace with: \1_in_


16/11-18 09:04
#4 : 16/11-18 11:32
Ja Good
Ja Good
Posts: 2
Reply to #3:
well! I understand - thank you!


16/11-18 11:32