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

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

Author:  Freddy [ June 17th, 2017, 4:11 am ]
Post subject:  Re: Forum replacements problems.

@DragonflyDragon

To remove after:
Search for:
Code:
(?s)string2.+


Replace with:
Code:
(leave empty)


Enable regex search.

To remove before:
Search for:
Code:
(?s).+string1\s*


Replace with:
Code:
(leave empty)


Enable regex search.


To replace "string1" with "string2" just search for "string1" and replace with "string2" (simple replacement, not regex).

Author:  bestfreeclip [ June 28th, 2017, 10:28 am ]
Post subject:  Re: Forum replacements problems.

Dear Freddy I have this

Code:
DOWNLOAD :
[url=http://k2s.cc/file/7c79b40b572df/Threesome.part1.rar]Download file - 250.0 MB[/url]
[url=http://k2s.cc/file/7c79b40b572df/Threesome.part2.rar]Download file - 250.0 MB[/url]


and i want this without using "Surround with speacial [links] tag" because otherwise i need to update all my saved posts for only one forum.


Code:
DOWNLOAD :
[CODE]http://k2s.cc/file/7c79b40b572df/Threesome.part1.rar[/CODE]
[CODE]http://k2s.cc/file/7c79b40b572df/Threesome.part2.rar[/CODE]


p.s. i use only k2s.cc and every single download link must have "CODE"

Author:  amadeos7 [ July 2nd, 2017, 5:53 am ]
Post subject:  Re: Forum replacements problems.

Hello, Freddy

How do I make mygully.com all links automatically refer to as a spoiler?

Author:  amadeos7 [ July 2nd, 2017, 9:16 am ]
Post subject:  Re: Forum replacements problems.

Is it possible to turn links of this kind:

https://k2s.cc/file/5a9988bc263cc/L0802 ... .part1.rar
https://k2s.cc/file/8b06cf8ce760a/L0802 ... .part2.rar


into such links for a certain forum:

L080213GG_blindfoldedMILF_HD.part1.rar
L080213GG_blindfoldedMILF_HD.part2.rar

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

amadeos7 wrote:
Hello, Freddy

How do I make mygully.com all links automatically refer to as a spoiler?


In "FORUMS" -> select needed forum -> for links tag settings choose to surround with custom tag and enter:
Code:
spoiler

Don't forget to press "Update" button.

The host must be added in "CONFIG" -> "Links tag".

amadeos7 wrote:


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


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


Enable regex search.

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

bestfreeclip wrote:
Dear Freddy I have this

Code:
DOWNLOAD :
[url=http://k2s.cc/file/7c79b40b572df/Threesome.part1.rar]Download file - 250.0 MB[/url]
[url=http://k2s.cc/file/7c79b40b572df/Threesome.part2.rar]Download file - 250.0 MB[/url]


and i want this without using "Surround with speacial [links] tag" because otherwise i need to update all my saved posts for only one forum.


Code:
DOWNLOAD :
[CODE]http://k2s.cc/file/7c79b40b572df/Threesome.part1.rar[/CODE]
[CODE]http://k2s.cc/file/7c79b40b572df/Threesome.part2.rar[/CODE]


p.s. i use only k2s.cc and every single download link must have "CODE"


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


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


Enable regex search.

Author:  DragonflyDragon [ July 9th, 2017, 9:41 am ]
Post subject:  Re: Forum replacements problems.

Thanks Freddy,

For second questions:
string2 is in post as well and is not same all the time, so I need to find it before find and replace string1. Fortunately Sometext1: is always same and can be used to find string2 which proceed after it.

Any idea?

DragonflyDragon wrote:
And one more question,

Is it possible to find string1 and replace it with string2?

For example,
Before:
Code:
Some content
.
.
.
string1
.
.
.
Sometext1: string2

After:
Code:
Some content
.
.
.
string2
.
.
.
Sometext1:

Author:  Freddy [ July 9th, 2017, 1:04 pm ]
Post subject:  Re: Forum replacements problems.

@DragonflyDragon could you write some specific example? Might be easier.

Author:  amadeos7 [ July 17th, 2017, 2:39 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
amadeos7 wrote:
Hello, Freddy

How do I make mygully.com all links automatically refer to as a spoiler?


In "FORUMS" -> select needed forum -> for links tag settings choose to surround with custom tag and enter:
Code:
spoiler

Don't forget to press "Update" button.

The host must be added in "CONFIG" -> "Links tag".

amadeos7 wrote:


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


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


Enable regex search.


How to make that the spoiler has been wrapped links to both file sharing and pictures?

Author:  Freddy [ July 18th, 2017, 7:02 am ]
Post subject:  Re: Forum replacements problems.

You could add image hosts as well in "CONFIG" -> "Links tag" configuration if you really need that.

Author:  BuscaTreskys [ August 16th, 2017, 9:45 pm ]
Post subject:  Re: Forum replacements problems.

Hello :D

I need replace with nothing or empty.
Code:
[QUOTE]SYNOPSIS..: any text, with numbers, symbols..etc[/QUOTE]

Author:  Freddy [ August 17th, 2017, 6:45 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
\[QUOTE\]SYNOPSIS.+?\[/QUOTE\]


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  BuscaTreskys [ August 17th, 2017, 4:05 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
Search for:
Code:
\[QUOTE\]SYNOPSIS.+?\[/QUOTE\]


Replace with:
Code:
(leave empty)


Enable regex search.

Thank you. But not works when there are space o new paragraph. Example:

Code:
[QUOTE]SYNOPSIS..: What Movies Are Coming This Summer?
                                         The Hitman's Bodyguard

Superheroes, swimsuits, and special operatives await you in our Summer Movie Guide. Plan your season and take note of the hotly anticipated indie, foreign, and documentary releases, too.

"Inhumans" and "The Orville" are just two of the most anticipated new series for the fall according to IMDb user interest. How many of these shows are on your Watchlists?![/QUOTE]

Author:  Freddy [ August 18th, 2017, 6:57 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?si)\[QUOTE\]SYNOPSIS.+?\[/QUOTE\]


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  BuscaTreskys [ August 20th, 2017, 8:49 pm ]
Post subject:  Re: Forum replacements problems.

Thank you Freddy. Now works fine.

Regards.

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