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

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

Author:  Crackpot [ October 9th, 2021, 7:21 pm ]
Post subject:  Re: Forum replacements problems.

thank you

Author:  zaika [ November 4th, 2021, 9:04 am ]
Post subject:  Re: Forum replacements problems.

i need thi Freddy

After
Code:
[spoiler][hide]
various content and 2 or 3 links Urls...
Urls..
[/hide][/spoiler]


Before
leave empty

Author:  Freddy [ November 4th, 2021, 9:26 am ]
Post subject:  Re: Forum replacements problems.

I guess you mixed up the before and after.

Search for:
Code:
(?is)\[spoiler\]\[hide\].+?\[/hide\]\[/spoiler\]


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  zaika [ November 4th, 2021, 11:39 am ]
Post subject:  Re: Forum replacements problems.

work perfect bro thx

Author:  zaika [ November 7th, 2021, 10:42 am ]
Post subject:  Re: Forum replacements problems.

Its possible this

After
Code:
[b]Easybytez - Rapidgator[/b]
[code]https://filecrypt.cc.....[/code]
[code]https://www.keeplinks.org.....[/code]
blank line


Before
Code:
[b]Easybytez - Rapidgator[/b]




I have one second question too, its possible detect the LAST TAG CENTER
Code:
[/center]
of one article and replace it with with something else that i need add?

Author:  Freddy [ November 7th, 2021, 8:41 pm ]
Post subject:  Re: Forum replacements problems.

Yes, you can do the center thing, but would need "before" and "after" example.

For the first:

Search for:
Code:
(?si)(\[b\]Easybytez - Rapidgator\[/b\]).+\[code\].+?keeplinks.+?\[/code\]\s*


Replace with:
Code:
$1\n


Enable regex search.

Author:  Crackpot [ November 18th, 2021, 6:32 pm ]
Post subject:  Re: Forum replacements problems.

please note there could have triple episode like S02E01E02E03
input:
Code:
Worst.to.First.S02E07E08.Katharine.and.Darius.720p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1022.7 MiB
Worst.to.First.S02E07E08E09.Katharine.and.Darius.1080p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1022.7 MiB
Worst.to.First.S02E08.Jodene.and.Greg.720p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1.004 GiB


Output:
Code:
Worst.to.First.S02E07E08.720p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1022.7 MiB
Worst.to.First.S02E07E08E09.1080p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1022.7 MiB
Worst.to.First.S02E08.720p.WEB-DL.DDP5.1.H.264-squalor.mkv ~ 1.004 GiB

Author:  Freddy [ November 18th, 2021, 8:30 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(S[0-9]+.*E[0-9]+).+?(720|1080)


Replace with:
Code:
$1.$2


Enable regex search.

Author:  rafaqatkiani007 [ December 2nd, 2021, 5:23 pm ]
Post subject:  IMDB link for DLE or WP

can TP auto change or replace from
Code:
 IMDB link to clickable link link like this

[b]From[/b]
[code]https://www.imdb.com/title/tt11833670/


To
IMDB

for dle and WP sites

Author:  Freddy [ December 2nd, 2021, 5:41 pm ]
Post subject:  Re: Forum replacements problems.

Add replacement for needed sites:

Search for:
Code:
https?://.*?imdb\.com.+


Replace with:
Code:
[url=$0]IMDB[/url]


Enable regex search.

Author:  zaika [ January 9th, 2022, 7:28 pm ]
Post subject:  Re: Forum replacements problems.

ITs possibile make this in title?

in one site i need to have for every title i write and the end of it one word look example


AFTER
Code:
TOPIC TITLE


BEFORE
Code:
TOPIC TITLE - (Italian)


for every topic title i need add the -> - (Italian)

its possible do this replacement in title?

Author:  Freddy [ January 13th, 2022, 8:26 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
$


Replace with:
Code:
 - (Italian)


Enable regex search.

Add under "Subject" replacements.

Author:  zaika [ January 13th, 2022, 7:48 pm ]
Post subject:  Re: Forum replacements problems.

sorry but this will create the title in this was yes?

TOPIC TITLE - (Italian)

right?

i make you one example

Before
Code:
Rambo (2000)


After
Code:
Rambo (2000) - (Italian)


this i want for every TOPIC title that i will create, i need add at the end of topic title the words -> - (Italian)

Author:  Freddy [ January 13th, 2022, 8:24 pm ]
Post subject:  Re: Forum replacements problems.

Yes, your example was the same before.

Just add it under "Subject" replacements to affect only the subject / title.

You can make a test post here if needed: viewforum.php?f=17

Author:  Crackpot [ January 29th, 2022, 4:18 am ]
Post subject:  Re: Forum replacements problems.

input
Code:
[imdb=tt13309978]

[b]Download From RapidGator[/b]

[code]
https://rapidgator.net/file/ffsddasd2.0.x264-EVO.rar
[/code]



remove everything and keep only the imdb bbcode:
Code:
[imdb=tt13309978]

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