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

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

Author:  Freddy [ May 19th, 2019, 8:06 am ]
Post subject:  Re: Forum replacements problems.

For subject this would work:

Search for:
Code:
-[0-9]+$


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  stefan-te [ May 20th, 2019, 1:20 am ]
Post subject:  Re: Forum replacements problems.

What about this..

in
The.X-Files.S01e01.1080P.Bluray.X264-Rovers
The.X-Files.S01e02.1080P.Bluray.X264-Rovers
The.X-Files.S01e03.1080P.Bluray.X264-Rovers

out
The.X-Files.S01E01.1080P.Bluray.X264-Rovers
The.X-Files.S01E02.1080P.Bluray.X264-Rovers
The.X-Files.S01E03.1080P.Bluray.X264-Rovers

Author:  Crackpot [ May 20th, 2019, 5:27 am ]
Post subject:  Re: Forum replacements problems.

thank you for the previous post help. one more help please

input
Code:
https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html
https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01E02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html


output
Code:
<a href="https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html">https://rapidgator.net/file/95/S20E01.rar</a>
<a href="https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01E02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html">https://rapidgator.net/file/95/S20E01E02.rar</a>



input
Code:
https://multiup.org/download/ASD/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar
https://multiup.org/download/FASD/Law.and.Order.Special.Victims.Unit.S20E02E02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar


output
Code:
<a href="https://multiup.org/download/ASD/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar">https://multiup.org/download/ASD/S20E01.rar</a>
<a href="https://multiup.org/download/FASD/Law.and.Order.Special.Victims.Unit.S20E02E02.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar">https://multiup.org/download/FASD/S20E01E02.rar</a>

Author:  stefan-te [ May 20th, 2019, 11:43 pm ]
Post subject:  Re: Forum replacements problems.

I use this, so you cna try it, maybe Freddy has another fix for this

Search for
Code:
https?://(www\.)?(rapidgator|multiup).+


Replace with
Code:
<a href="$0"  target="_blank">$0</a>


Enable regex

Author:  Freddy [ May 21st, 2019, 6:33 am ]
Post subject:  Re: Forum replacements problems.

@stefan-te replacement is fine above. Just remove "target="_blank"" if needed.

stefan-te wrote:
What about this..

in
The.X-Files.S01e01.1080P.Bluray.X264-Rovers
The.X-Files.S01e02.1080P.Bluray.X264-Rovers
The.X-Files.S01e03.1080P.Bluray.X264-Rovers

out
The.X-Files.S01E01.1080P.Bluray.X264-Rovers
The.X-Files.S01E02.1080P.Bluray.X264-Rovers
The.X-Files.S01E03.1080P.Bluray.X264-Rovers


Search for:
Code:
(?i)s([0-9]+)e([0-9]+)


Replace with:
Code:
S$1E$2


Enable regex search.

Author:  Crackpot [ May 21st, 2019, 7:24 am ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
@stefan-te replacement is fine above. Just remove "target="_blank"" if needed.

stefan-te wrote:
What about this..

in
The.X-Files.S01e01.1080P.Bluray.X264-Rovers
The.X-Files.S01e02.1080P.Bluray.X264-Rovers
The.X-Files.S01e03.1080P.Bluray.X264-Rovers

out
The.X-Files.S01E01.1080P.Bluray.X264-Rovers
The.X-Files.S01E02.1080P.Bluray.X264-Rovers
The.X-Files.S01E03.1080P.Bluray.X264-Rovers


Search for:
Code:
(?i)s([0-9]+)e([0-9]+)


Replace with:
Code:
S$1E$2


Enable regex search.



S20E01.rar</a> stefan-te one works partially but i want to use like this instead of

Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html</a>

Author:  ad-team [ May 21st, 2019, 11:37 am ]
Post subject:  Re: Forum replacements problems.

Hi

before
Code:
[url=https://www.imdb.com/title/tt3311900/]iMDB info[/url]



after
Code:
iMDB info
[code]https://www.imdb.com/title/tt3311900/[/code]

Author:  Freddy [ May 22nd, 2019, 2:23 pm ]
Post subject:  Re: Forum replacements problems.

@Crackpot

Search for:
Code:
(?i)https?://(www\.)?(rapidgator\.net/file/|multiup\.org/download/).+?/.+?(s[0-9]+e[0-9]+).+


Replace with:
Code:
<a href="$0">$3</a>


Enable regex search.

@ad-team

Search for:
Code:
\[url=(https?://.+?imdb\.com.+?)\](.+?)\[/url\]


Replace with:
Code:
$2\n[code]$1[/code]


Enable regex search.

Author:  Crackpot [ May 24th, 2019, 9:53 am ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
@Crackpot

Search for:
Code:
(?i)https?://(www\.)?(rapidgator\.net/file/|multiup\.org/download/).+?/.+?(s[0-9]+e[0-9]+).+


Replace with:
Code:
<a href="$0">$3</a>

Enable regex search.


thanks but this code keeping only "S20E20" i wanted to keep the first part link

input
Code:
https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01E02E03.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html


output
Code:
<a href="https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html">https://rapidgator.net/file/95/S20E01</a>


also possible to give regex code for this output as well


Code:
<a href="https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.rar.html">https://rapidgator.net/file/95/Law.and.Order.Special.Victims.Unit.S20E01</a>

Author:  Freddy [ May 24th, 2019, 11:03 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?i)((https?://(www\.)?(rapidgator\.net/file/|multiup\.org/download/).+?/).+?(s[0-9]+e[0-9]+)).+


Replace with:
Code:
<a href="$0">$2/$5</a>


Enable regex search.

Search for:
Code:
(?i)((https?://(www\.)?(rapidgator\.net/file/|multiup\.org/download/).+?/).+?(s[0-9]+e[0-9]+)).+


Replace with:
Code:
<a href="$0">$1</a>


Enable regex search.

Author:  Crackpot [ May 24th, 2019, 9:48 pm ]
Post subject:  Re: Forum replacements problems.

thank you so much :)

Author:  Crackpot [ June 6th, 2019, 4:29 pm ]
Post subject:  Re: Forum replacements problems.

Code:
input
https://images2.imgbox.com/c8/1f/4MP7voki_o.jpg/Five.Feet.Apart.2019.1080p.BluRay.x264-DRONES_s.jpg

output
https://images2.imgbox.com/c8/1f/4MP7voki_o.jpg/CRACKPOT/Five.Feet.Apart.2019.1080p.BluRay.x264-DRONES_s.jpg


i could use normal rename, but that could conflict other part of post content. possible to do it as domain based name?

Author:  Freddy [ June 7th, 2019, 7:02 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
https?://.*?imgbox.+?\.jpg/


Replace with:
Code:
$0CRACKPOT/


Enable regex search.

Author:  Crackpot [ June 27th, 2019, 3:16 pm ]
Post subject:  Re: Forum replacements problems.

input (copy url using themamanger with subject
Code:
subject name
http://www.google.com


output
Code:
[url=http://www.google.com]subject name[/url]

Author:  Freddy [ July 7th, 2019, 6:23 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(.+?)\n(https?://.+)


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


Enable regex search.

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