It is currently April 27th, 2024, 7:39 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 70, 71, 72, 73, 74
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: December 16th, 2023, 7:43 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
In Notepad++ you most likely have enabled multi-line mode (the dot to match new lines).

In themaPoster for that you need to add this prefix: (?s)

Like this (it works as well):

Search for:
Code:
(?s)(\[csize\](.*?)\[/csize\])(.*?)\[xsize\]\{size\}\[/xsize\]


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 16th, 2023, 7:52 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
The first message with "[mark1]" is a bit hard to understand since in input in output there is no such tag and you have imgbox links in both input and output.

To remove everything between some tags it would be just:

Search for:
Code:
(?s)\[mark1\].+?\[/mark1\]\s*


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 17th, 2023, 9:00 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
thank you for the size regex.

and about the mark1 I want to keep only pixhost domain and remove the imgbox domain. and I think it's kind of impossible to do that.

then I end up using two themaposter which will work with no headache.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 17th, 2023, 7:47 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
Banned hosts are always per whole forum, what's why banned hosts in themaPoster are for whole forum.

To do that per section in themaPoster easily is not really possible.

You can add imgbox as banned host (but it will affect all sections).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 24th, 2023, 12:01 pm 

Joined: October 15th, 2014, 4:37 pm
Posts: 4
Hi Freddy:

from:
Code:
[b]https://ddownload.com/xxxxxxxx[/b]


to:
Code:
[b][url=https://ddownload.com/xxxxxxxx]https://ddownload.com/xxxxxxxx[/url][/b]


but only for this host, because inside are others too

thank you


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 24th, 2023, 6:33 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
Search for:
Code:
https?://ddownload.com[^\s\[<]+


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 4th, 2024, 5:11 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
how i can do this Freddy

Before:

Code:
MB

[b]BUON DOWNLOAD[/b]


After

Code:
MB
==========
[b]BUON DOWNLOAD[/b]


when i forget the division for blog i want add it.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 4th, 2024, 7:19 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
Just add simple replacement (not regex).

Search for:
Code:
[b]BUON DOWNLOAD[/b]


Replace with:
Code:
==========\n[b]BUON DOWNLOAD[/b]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 4th, 2024, 10:14 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
but exactly i need to add the divisor ONLY if NOT present between the -> MB and the BUON DOWNLOAD

Code:
M

[b]BUON DOWNLOAD[/b]


in that way is correct?

After
Code:
MB\n[b]BUON DOWNLOAD[/b]


Before
Code:
MB\n==========\n[b]BUON DOWNLOAD[/b]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 5th, 2024, 12:14 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12645
Location: Earth
That's incorrect a bit. You have two new lines after "MB" (not just one).

Here is the correct:

Search for:
Code:
MB\n\n[b]BUON DOWNLOAD[/b]


Replace with:
Code:
MB\n==========\n[b]BUON DOWNLOAD[/b]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 6th, 2024, 4:53 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
than you


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 70, 71, 72, 73, 74

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:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC