JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.02.2020, 13:07
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 743
Default 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:
Attached Thumbnails
ggg.jpg  
Reply With Quote
  #2  
Old 05.02.2020, 17:34
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,088
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 05.02.2020, 20:13
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 743
Default

Thanks man, it's much complicated than I thought but this example will be helpful for the future reference.
Reply With Quote
  #4  
Old 06.02.2020, 12:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,088
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:22.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.