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

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

Author:  ad-team [ May 12th, 2018, 1:03 pm ]
Post subject:  Re: Forum replacements problems.

Before
Code:
http://i94.fastpic.ru/big/2017/1027/2c/2141e4ddae286152f3e503c11b72db2c.jpg
http://i94.fastpic.ru/big/2017/1027/69/a42811aaa6c6d2ed70fa6d50435e9f69.jpg
http://i94.fastpic.ru/big/2017/1027/8e/8146863393deb7c315bf78e57598448e.jpg


after
Code:
[spoiler]
http://i94.fastpic.ru/big/2017/1027/2c/2141e4ddae286152f3e503c11b72db2c.jpg
http://i94.fastpic.ru/big/2017/1027/69/a42811aaa6c6d2ed70fa6d50435e9f69.jpg
http://i94.fastpic.ru/big/2017/1027/8e/8146863393deb7c315bf78e57598448e.jpg
[/spoiler]

this only for image
thanks

Author:  ad-team [ May 12th, 2018, 7:06 pm ]
Post subject:  Re: Forum replacements problems.

before

Code:
http://i93.fastpic.ru/big/2017/0817/3a/822b374960913d68299d3f14c36dbc3a.jpg


After
Code:
https://i93.fastpic.ru/big/2017/0817/3a/822b374960913d68299d3f14c36dbc3a.jpg

(i don t want use normal replacement need in regex option)
Thanks

Author:  Freddy [ May 15th, 2018, 8:57 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?i)(http://.+?fastpic.+?\.jpg\s*)+


Replace with:
Code:
[spoiler]$0[/spoiler]


Enable regex.




Search for:
Code:
http://(.+?fastpic)


Replace with:
Code:
https://$1


Enable regex.

Author:  Crackpot [ May 26th, 2018, 3:31 am ]
Post subject:  Re: Forum replacements problems.

input:
Mindhorn.2016.1080p.BRRip.x264-YIFY

output:
Mindhorn (2016)

Author:  Freddy [ May 26th, 2018, 8:18 am ]
Post subject:  Re: Forum replacements problems.

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


Replace with:
Code:
$1 ($2)


Enable regex.

Author:  zaika [ June 9th, 2018, 8:50 pm ]
Post subject:  Re: Forum replacements problems.

how i can make thi:

Code:
https://filecrypt.cc/Container/F457E1342E.html


in

Code:
[url]https://filecrypt.cc/Container/F457E1342E.html[/url]


obviously for all filecrypt links...

Author:  Freddy [ June 10th, 2018, 6:19 am ]
Post subject:  Re: Forum replacements problems.

Just add "filecrypt.cc" in "CONFIG" -> "Links tag" and for needed forums choose needed option for links tag. For "url" there is an option to surround each link with "url".

http://poster.freddy.lt/faq.php?expand=faq104

Author:  zaika [ June 10th, 2018, 9:36 am ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
Just add "filecrypt.cc" in "CONFIG" -> "Links tag" and for needed forums choose needed option for links tag. For "url" there is an option to surround each link with "url".

http://poster.freddy.lt/faq.php?expand=faq104



i forgot that my links in template have already TAG CODE so i want this:

how i can make this:

Code:
[code]https://filecrypt.cc/Container/F457E1342E.html[/code]


in

Code:
[url]https://filecrypt.cc/Container/F457E1342E.html[/url]


if will be possible i want have this in Replacements.

Author:  Freddy [ June 11th, 2018, 3:55 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?i)\[code\](https?://filecrypt.+?)\[/code\]


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


Enable regex.

Author:  Pablo01 [ June 12th, 2018, 4:50 pm ]
Post subject:  Re: Forum replacements problems.

Hi.

I want to replace 001_ with nothing but I need 001_ to stay in the image urls.

First line of my posts are
Code:
[b]001_text example
.. i want 001_ gone.

Code:
[url=https://pixhost.to/show/152/72870925_001_text-example_s.jpg][img]https://t20.pixhost.to/thumbs/152/72870925_001_text-example_s.jpg[/img][/url]


In my image urls I need 001_ to stay.

I tried regular replacements but then the img url is just screwed and images show offline.

Any help appreciated :=

Author:  Freddy [ June 12th, 2018, 6:38 pm ]
Post subject:  Re: Forum replacements problems.

If it's always with "b" tag at the start you could do it with a simple replacement (not regex).

Search for:
Code:
[b]001_


Replace with:
Code:
[b]

Author:  Crackpot [ July 7th, 2018, 10:32 pm ]
Post subject:  Re: Forum replacements problems.

before
Code:
http://funkyimg.com/i/2JhKd.jpg/8.Mile.2002.1080p.BRRip.H264.AAC-RBG_s.jpg


after
Code:
http://funkyimg.com/i/2JhKd.jpg

=====

before
Code:
https://s22.postimg.cc/4znfqhsxt/8.Mile.2002.1080p.BRRip.H264.AAC-_RBG_s.jpg/8.Mile.2002.1080p.BRRip.H264.AAC-RBG_s.jpg



after
Code:
https://s22.postimg.cc/4znfqhsxt/8.Mile.2002.1080p.BRRip.H264.AAC-_RBG_s.jpg

Author:  Freddy [ July 8th, 2018, 8:51 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(https?://.*?(funkyimg|postimg).+\.jpg)/.+\.jpg


Replace with:
Code:
$1


Enable regex.

Author:  vandt [ July 10th, 2018, 5:02 pm ]
Post subject:  Re: Forum replacements problems.

hello,

before
Code:
http://rapidgator.net/file/211b86a777b252be65ee8fe19df23707/LaceyChanning.part1.rar.html

try use
Search String: http://rapidgator\.net[^\s\[\]<'\"]+/([^\s\[\]<'\"]+)
Replace With: [url=$0]$1[/url]

after
Code:
[url]http://rapidgator.net/file/211b86a777b252be65ee8fe19df23707/LaceyChanning.part1.rar.html]LaceyChanning.part1.rar.html[/url]


can u help me remove ".html" like
Code:
[code][url]http://rapidgator.net/file/211b86a777b252be65ee8fe19df23707/LaceyChanning.part1.rar.html]LaceyChanning.part1.rar[/url][/code]

thanks

Author:  Freddy [ July 10th, 2018, 6:02 pm ]
Post subject:  Re: Forum replacements problems.

l would probably just do this:

Search for:
Code:
http://rapidgator.+/(.+)\.html


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


Enable regex.

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