themaPoster
http://poster.themasoftware.com/forum/

Forum replacements problems.
http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634
Page 58 of 74

Author:  ad-team [ August 6th, 2020, 8:50 pm ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ August 6th, 2020, 9:51 pm ]
Post subject:  Re: Forum replacements problems.

Just add "anonymz.com" to banned hosts and it will remove those lines with banned host.

Author:  paradajz [ September 3rd, 2020, 11:12 pm ]
Post subject:  Re: Forum replacements problems.

I need replacement to center posts/topics only for blogs.

Author:  Crackpot [ September 4th, 2020, 10:26 pm ]
Post subject:  Re: Forum replacements problems.

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]

Author:  Freddy [ September 5th, 2020, 8:27 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Crackpot [ September 5th, 2020, 11:16 am ]
Post subject:  Re: Forum replacements problems.

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]

Author:  Freddy [ September 6th, 2020, 9:23 am ]
Post subject:  Re: Forum replacements problems.

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


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


Enable regex search.

Author:  Crackpot [ September 10th, 2020, 5:53 pm ]
Post subject:  Re: Forum replacements problems.

input
Im For The Hippopotamus 1979 DUBBED 1080p BRRip H264 AAC-RBG

output
Im For The Hippopotamus (1979)

Author:  Freddy [ September 10th, 2020, 6:37 pm ]
Post subject:  Re: Forum replacements problems.

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


Replace with:
Code:
$1 ($2)


Enable regex search.

Author:  Crackpot [ September 11th, 2020, 3:02 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Freddy [ September 11th, 2020, 1:12 pm ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Crackpot [ September 14th, 2020, 5:28 am ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ September 14th, 2020, 7:11 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Crackpot [ September 14th, 2020, 7:53 am ]
Post subject:  Re: Forum replacements problems.

thank you..working perfect...i am just a noob :oops:

Author:  Crackpot [ September 25th, 2020, 2:19 pm ]
Post subject:  Re: Forum replacements problems.

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 :)

Page 58 of 74 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/