It is currently September 18th, 2019, 5:43 am



Post new topic Reply to topic  [ 734 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: July 7th, 2019, 6:23 am 
Site Admin
User avatar

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


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: July 29th, 2019, 9:40 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 279
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: 9794
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: 279
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: 279
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: 9794
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: 137
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: 9794
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: 279
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: 9794
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: 279
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: 9794
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: 153
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: 9794
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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 734 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49

Who is online

Users browsing this forum: No registered users and 12 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:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC