#1
|
|||
|
|||
removing everything until underscope with packagizer?
Hi!
i am trying the packagizer and do an auto-renaming based on download url. Am able to use regex with the find replace replace , result is good. this removes everything including the underscope and keeps the rest but cant make it work here: am i too far off the right track? images are working fine when previewing the message so i am guessing only visible to moderators ... Last edited by I3ordo; 03.05.2022 at 04:05. |
#2
|
||||
|
||||
@I3ordo: rename doesn't work that way as you do not specify the *search for* but the *replace with/rename to*
Best would be to provide example links and then we can better help/provide regex/rules correct
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
for example this link:
**External links are only visible to Support Staff****External links are only visible to Support Staff** it brings three items, one archive two images... i am trying to do Code:
^(.*?\_) So i checked the packagizer and it has a function that renames on conditions met, but it works like rename the file to <jd:orgpackagename>, it does not seem to provide a regex find replace function. or maybe it does and i just dont know it yet. |
#4
|
||||
|
||||
Quote:
Quote:
In order to rename files you have to use "...then set....Filename" and specify the filename
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
Example rule to cut of leading XYZ_
Quote:
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
hi! i was able to achieve what you described and i even could accomplish it with files like "xyz.13.12.2022.somefile.rar"
filename contains: ^(.*?.)(\d.).\d..\d..(.+) (regex on) filename:<jd:orgfilename:3> the resulting filename becomes "somefile.rar" thank you very much:) |
#7
|
||||
|
||||
Thanks for your feedback
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|