It is currently March 28th, 2024, 7:45 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 55, 56, 57, 58, 59, 60, 61 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: August 6th, 2020, 8:50 pm 

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

Code:
some text
[url=http://anonymz.com/?https://mirillis.com]http://anonymz.com/?https://mirillis.com[/url]

[url=https://anonymz.com/?http://www.qfxsoftware.com]https://anonymz.com/?http://www.qfxsoftware.com[/url]
[url=http://anonymz.com/?http://www.piriform.com]http://anonymz.com/?http://www.piriform.com[/url]


After :

Code:
some text


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 6th, 2020, 9:51 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Just add "anonymz.com" to banned hosts and it will remove those lines with banned host.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 3rd, 2020, 11:12 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 43
I need replacement to center posts/topics only for blogs.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 4th, 2020, 10:26 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Input
Away S01 1080p NF WEBRip DDP5 1 Atmos x264-NTb
A P Bio S03 1080p PCOK WEBRip DDP5 1 x264-NTb
Ramy S02 720p HULU WEBRip DDP5 1 x264-TRUMP

Output
Away S01 [1080p] [NTb]
A P Bio S03 [1080p] [NTb]
Ramy S02 [720p] [TRUMP]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 5th, 2020, 8:27 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
paradajz wrote:
I need replacement to center posts/topics only for blogs.


Search for:
Code:
(?s).+


Replace with:
Code:
[center]\n$0\n[/center]


Enable regex search.

Crackpot wrote:
Input
Away S01 1080p NF WEBRip DDP5 1 Atmos x264-NTb
A P Bio S03 1080p PCOK WEBRip DDP5 1 x264-NTb
Ramy S02 720p HULU WEBRip DDP5 1 x264-TRUMP

Output
Away S01 [1080p] [NTb]
A P Bio S03 [1080p] [NTb]
Ramy S02 [720p] [TRUMP]



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


Replace with:
Code:
$1 [$2] [$3]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 5th, 2020, 11:16 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Crackpot wrote:
Input
Away S01 1080p NF WEBRip DDP5 1 Atmos x264-NTb
A P Bio S03 1080p PCOK WEBRip DDP5 1 x264-NTb
Ramy S02 720p HULU WEBRip DDP5 1 x264-TRUMP

Output
Away S01 [1080p] [NTb]
A P Bio S03 [1080p] [NTb]
Ramy S02 [720p] [TRUMP]


my mistake. here is the updated replace request please
Input
Away S01 1080p NF WEBRip DDP5 1 Atmos x264-NTb
A P Bio S03 1080p PCOK WEBRip DDP5 1 x264-NTb
Ramy S02 720p HULU WEBRip DDP5 1 x264-TRUMP
Black Dynamite S01 1080p BluRay x264-ROVERS

Output
Away S01 [1080p] [WEBRip] [NTb]
A P Bio S03 [1080p] [WEBRip] [NTb]
Ramy S02 [720p] [WEBRip] [TRUMP]
Black Dynamite S01 [1080p] [BluRay] [ROVERS]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 6th, 2020, 9:23 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?i)(.+?)([0-9]{3,4}p).+(WEBRip|BluRay).+-(.+)


Replace with:
Code:
$1 [$2] [$3] [$4]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 10th, 2020, 5:53 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Im For The Hippopotamus 1979 DUBBED 1080p BRRip H264 AAC-RBG

output
Im For The Hippopotamus (1979)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 10th, 2020, 6:37 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(.+?)([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 11th, 2020, 3:02 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
[movie]Im For The Hippopotamus 1979 DUBBED 1080p BRRip H264 AAC-RBG[/movie]

output
[movie]Im For The Hippopotamus (1979)[/movie]

input
[movie]Americas Got Talent S15E19 WEB x264-nonspin[/movie]

output
[movie]Americas Got Talent[/movie]

i used [movie] word before title start so that replace will not mixed up in other post part.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 11th, 2020, 1:12 pm 
Site Admin
User avatar

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


Replace with:
Code:
[movie]$1 ($2)[/movie]


Enable regex search.


Search for:
Code:
\[movie\](.+?)(S[0-9]+E[0-9]+).+\[/movie\]


Replace with:
Code:
[movie]$1[/movie]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 14th, 2020, 5:28 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
[movie]Conan 2020 07 22 Jim Gaffigan 720p HEVC x265-MeGusta[/movie]

output
[movie]Conan[/movie]

=====
input
[movie]Conan 2020 07 22 Jim Gaffigan 720p HEVC x265-MeGusta[/movie]

output
[movie]Conan 2020 07 22[/movie]


thanks in advanced


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 14th, 2020, 7:11 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Try to learn this. It's really simple replacements. You have asked for almost the same replacement many times :)) There are plenty of test tools online and even replacements tester in the program.

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


Replace with:
Code:
$1


Enable regex search.

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


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 14th, 2020, 7:53 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thank you..working perfect...i am just a noob :oops:


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 25th, 2020, 2:19 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
i have 100 line word and want to convert like this, is it possible?
input
Code:
test1
test2
test3


output
Code:
"hello\test1" "bye\test1"
"hello\test2" "bye\test2"
"hello\test3" "bye\test3"


thanks in advanced :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 55, 56, 57, 58, 59, 60, 61 ... 74  Next

Who is online

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