#1
|
||||
|
||||
Packagizer: Removing unneeded parts from pack name
I'm trying to create package but seems without some regex rules removing unneeded parts from the package name.
Link: **External links are only visible to Support Staff****External links are only visible to Support Staff** The package name created as: -the-madonna-1980s-karaoke-songbook-1-8045361.html What I want to do is: the madonna 1980s karaoke songbook 1 My settings: |
#2
|
||||
|
||||
Please note that we do help on creating single packagizer rules but we will not help anyone to learn RegEx or create hundrets of rules for individuals --> This is not necessarily only an information for you but for every user who reads this thread.
If you need this frequently, please learn how to use it. Here is an example using only wildcards - in this case your packagename will still contain the ID of that album: As you can see using wildcards only you will reach the limits of wildcards quite soon (though technically it is possible to reach your goal here using wildcards but it is not nice at all). This means using a RegEx is easier here: You can test your changes with the "Test" button on the bottom left side (blue "play" button). You will then easily see if the rule gets applied for your URLs or not. To test Regular expressions, I recommend using this webtool: regex101.com -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
||||
|
||||
Thanks man, it's much complicated than I thought but this example will be helpful for the future reference.
|
#4
|
||||
|
||||
Believe me once you learn some RegEx you will even be able to use it for other things than just for downloading stuff
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|