JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 12.05.2024, 17:08
dramaman dramaman is offline
JD Addict
 
Join Date: May 2013
Posts: 154
Default Regex to truncate file name after a specific character

is it possible to truncate a file name after the first occurrence of a specific character?

Could be a "#" for example.
Reply With Quote
  #2  
Old 12.05.2024, 20:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,031
Default

@dramaman: can you please provide example links so we know if the filename really contains # or the plugin must be updated.
see https://support.jdownloader.org/de/k...the-packagizer
you could use
Code:
filename - contains *#*
then set
filename - <jd:orgfilename:1>
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.05.2024, 15:37
dramaman dramaman is offline
JD Addict
 
Join Date: May 2013
Posts: 154
Default

sure
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #4  
Old 14.05.2024, 16:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,031
Default

@dramaman: Thanks! the # is indeed part of the filename, so the provided rule should work
__________________
JD-Dev & Server-Admin
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 03:02.
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.