Hi. I've been browsing and browsing in hopes of putting the information together by myself, but I give in. This is me asking humbly for some help.
I several files with this type of name:
2013.10.10_D_Location_Description.pdf
What I want is to add: "E-mail" to this string, after the Location.
2013.10.10._D_Location_E-mail_Description.pdf
If it's easier to read it this way, I want to go from:
[date]_[identifier]_[Location]_[Description].pdf
To-> [date]_[identifier]_[Location]_[E-mail]_[Description].pdf
I have assumed RegEx but all I end up with is "E-mail" after the first 3 digits or just at the end of the filename.
Could you please help me with the code for this?