JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08.05.2022, 21:27
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 48
Default Packagizer REGEX - capture group without underscopes

Hi again! Last week, if someone show me this:
Code:
(https?://somesite.*\/)(\d+[-|_])(.+\.)(html)
I would say its Persian...

But with all effort and patience i have witnessed here in this forum, i cant thank you enough for that...i am now able to write that regex code despite it taking 3 hours lol...

But since i got infected with knowledge, and the journey being endless, i cant stop but wonder if i can make a better capture...

this code above gets me what i want in "capture group 3".


original page link
Code:
**External links are only visible to Support Staff**
Captured as
Code:
some-page-title-with-dashes
is there a way in regex to capture without the dashes so that the
Code:
<jd:source:3><jd:orgfiletype>
is captured as:
Code:
some page title with dashes.extension
ps:currently, i batch rename them inside JD, replacing dashes with white space but just wondering if i would be able to do it within the packagizer...

Last edited by I3ordo; 08.05.2022 at 21:31.
Reply With Quote
 

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 17:39.
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 - 2023, Jelsoft Enterprises Ltd.