It is currently March 29th, 2024, 11:44 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 47, 48, 49, 50, 51, 52, 53 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: September 19th, 2019, 2:18 pm 

Joined: September 18th, 2019, 9:54 pm
Posts: 17
Thank you !!! It works great : )
1 more option please ? this may be impossible

Subject
Input:
Code:
Vyhrané a prohrané bitvy 2. světové váky / Battles won and lost (2017) / CZ


preserve year (2017) but strip / CZ - 60 character limits on

output :
Code:
Vyhrané a prohrané bitvy 2. světové váky / Battles... (2017)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 19th, 2019, 2:25 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
^([^\n]{49}).+?(\([0-9]{4}\)).+$


Replace with:
Code:
$1... $2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 22nd, 2019, 10:19 am 

Joined: September 18th, 2019, 9:54 pm
Posts: 17
Freddy wrote:
Add this replacement in "CONFIG" -> "Replacements" -> "Subject" tab - if you want it to affect all forums.

Or in "FORUMS" -> select needed website -> "Replacements" -> "Subject" tab - if you want it to affect specific forums.

Search for:
Code:
^([^\n]{45}).+?(\([0-9]{4}\).+)$


Replace with:
Code:
$1... $2





it works great except when subject is between 56-60 characters long
Then it always crops and adds ...

eg. Operace: Záchrana žraloků / Operation: Sharklift (2019) / CZ - 60 characters
output is :
Code:
Operace: Záchrana žraloků / Operation: Sharkl... (2019) / CZ


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 22nd, 2019, 4:37 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
This should be better (update, don't add a second):

Search for:
Code:
^([^\n]{45})[^\n]{4}.+?(\([0-9]{4}\).+)$


Replace with:
Code:
$1... $2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 23rd, 2019, 10:57 am 

Joined: September 18th, 2019, 9:54 pm
Posts: 17
AWESOME !!! working great. thank you


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 25th, 2019, 9:13 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Code:
input
https://abc.com/RNKykvg/foxy-brown-1974-1080p-bluray-x264-7sins-mkv

output
https://abc.com/kvg/Foxy.Brown.1974.1080p.BluRay.x264-7SinS.mkv


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 25th, 2019, 1:06 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
You could make RNKykvg to kvg like this:

Search for:
Code:
(https?://abc\.com/).+?([^\n]{3}/)


Replace with:
Code:
$1$2


Enable regex search.

The Capitalize and dots would only be possible if you use themaCreator to upload. There are an options to replace dashes to spaces, capitalize filenames and replace spaces to dots.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 28th, 2019, 7:54 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hi

input
Code:
PervsOnPatrol 19 09 27 Lexi Lore Spy Cam Studying

output

Code:
PervsOnPatrol Lexi Lore Spy Cam Studying


this replace in subject need without number in titles

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 29th, 2019, 1:16 am 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
You can use this to remove just the numbers...
Code:
([0-9]{2}).([0-9]{2}).([0-9]{2}).

Replace with nothing
Enable regex.

Image

Maybe Freddy has a better regex xD


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 29th, 2019, 7:47 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
That would work. Just no need for groups:

Code:
[0-9]{2}.[0-9]{2}.[0-9]{2}.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 10th, 2019, 2:26 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
not sure if possible. please check
Quote:
[info]text
a
asd
[/info]

[des]test[/des]


output
Quote:
[des]test[/des]

[info]text
a
asd
[/info]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 10th, 2019, 7:51 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?s)(\[info\].+?\[/info\])(\s*)(\[des\].+?\[/des\])


Replace with:
Code:
$3$2$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 19th, 2019, 10:08 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
nvm...i got another way


Last edited by Crackpot on October 20th, 2019, 7:14 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 19th, 2019, 2:32 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Code:
https://www.keeplinks.org/p45/5da008c6f393d
ts possible this freddy

Input
Code:
[code]https://www.keeplinks.org/p45/3435da008c6f393d[/code]


Output
Code:
[b]Easybytez - Nitroflare[/b]
[url]https://www.keeplinks.org/p45/3435da008c6f393d[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 19th, 2019, 11:03 pm 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
^try this :D
Search for
Code:
\[code\](https:\/\/www.keeplinks.org.+)\[\/code\]


replace with
Code:
[b]Easybytez - Nitroflare[/b]\n[url]$1[/url]


results:
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 47, 48, 49, 50, 51, 52, 53 ... 74  Next

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC