It is currently March 28th, 2024, 4:12 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 46, 47, 48, 49, 50, 51, 52 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: July 29th, 2019, 9:40 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Code:
input:
https://rapidgator.net/file/0e21fdg11d741958d6df504a3/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar

output
Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


Code:
input:
https://rapidgator.net/file/0e21fdg11d741958d6df504a3/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar

output
http://localhost/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


cannot use replace . only. coz it's inside post. [EP]whatever.text[/EP] want to remove dot inside [EP] tag
Code:
Input
[EP]The.Loudest.Voice.S01E05.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb | 2.40 GB[/EP]

output
[EP]The Loudest Voice S01E05 720p AMZN WEB-DL DDP5 1 H 264-NTb | 2 40 GB[/EP]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 30th, 2019, 6:47 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
https?://rapidgator\.net/file/.+?/(.+)


Replace with:
Code:
$1


Enable regex search.

Search for:
Code:
https?://rapidgator\.net/file/.+?/(.+)


Replace with:
Code:
http://localhost/$1


Enable regex search.

Can't think anything for the last.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 30th, 2019, 9:46 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thanks :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 3rd, 2019, 2:23 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
not sure if possible

Input
Code:
[b]The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG | 1.25 GB[/b] https://rapidgator.net/file/92eb0badsc2884688a7e3a855df/The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


Output
Code:
[url=https://rapidgator.net/file/92eb0badsc2884688a7e3a855df/The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar]The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG | 1.25 GB[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 3rd, 2019, 5:28 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
\[b\](.+?)\[/b\]\s*(https?://rapidgator.+)


Replace with:
Code:
[url=$2]$1[/url]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 13th, 2019, 10:55 am 

Joined: September 21st, 2011, 1:04 pm
Posts: 139
how to choose a line and replace with that line+new text:
input:
Code:
sometext...thistext...sometext

output:
Code:
sometext...thistext...sometext_newtext


I know Find input by regex : .*thistext.* but don't know how to do: this line+_newtext


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 13th, 2019, 12:52 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
.*thistext.*


Replace with:
Code:
$0_newtext


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 3rd, 2019, 9:45 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
Magnum.P.I.S01e01e02.1080P.Bluray.X264-Teneighty


output
Code:
Magnum.P.I.S01e01e02


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 4th, 2019, 5:16 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(?i)(.+S[0-9]+e[0-9]+e[0-9]+).+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 8th, 2019, 3:42 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
[change][Erai-raws] Ensemble Stars! - 10 [720p][/change]
[change][HorribleSubs] Cardfight!! Vanguard - Zoku Koukousei-hen - 17 [720p][/change]


output
Code:
http://site/?s=Ensemble Stars!
http://site/?s=Cardfight!! Vanguard - Zoku Koukousei-hen


i use "<postSubject>" in themaposter to show the post subject

i added "[change]" so that TM will replace only if post subject showing inside "[change]post[/change]"

thanks in advanced :)


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

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
\[change\]\[.+?\]\s*(.+?) - [0-9]+.+?\[/change\]


Replace with:
Code:
http://site/?s=$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hi
input
Code:
Witnesses 2019 HDRip XviD AC3-EVO

output
Code:
Witnesses (2019)


input

Code:
Witnesses (2019) HDRip XviD AC3-EVO


output
Code:
Witnesses (2019)

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 12th, 2019, 3:08 pm 
Site Admin
User avatar

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


Replace with:
Code:
$1 ($2)


Enable regex search.

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


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 18th, 2019, 9:59 pm 

Joined: September 18th, 2019, 9:54 pm
Posts: 17
Hello,
first of all let me thank you for the great product. I would like to ask for following regarding change of SUBJECT when posting.

i have capped subject character limit to 60 as most forums i use have this.
i am posting documentaries with this subject format eg :

Code:
Opuštěné stavební projekty / Abandoned Engineering (2016) / CZ


the output is this

Code:
Opuštěné stavební projekty / Abandoned Engineering (20...


However, i need to preserve the year and language mutation so this is wanted result

Code:
Opuštěné stavební projekty / Abandoned Engine... (2016) / CZ


Is this please possible to achieve ? Thank you very much


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 19th, 2019, 6:44 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Who is online

Users browsing this forum: No registered users and 8 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