It is currently March 28th, 2024, 11:42 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 39, 40, 41, 42, 43, 44, 45 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: May 12th, 2018, 1:03 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 12th, 2018, 7:06 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 15th, 2018, 8:57 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 26th, 2018, 3:31 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input:
Mindhorn.2016.1080p.BRRip.x264-YIFY

output:
Mindhorn (2016)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 26th, 2018, 8:18 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(.+?)\.?([0-9]{4}).+


Replace with:
Code:
$1 ($2)


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 9th, 2018, 8:50 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
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...


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 10th, 2018, 6:19 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 10th, 2018, 9:36 am 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 11th, 2018, 3:55 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(?i)\[code\](https?://filecrypt.+?)\[/code\]


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


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 12th, 2018, 4:50 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
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 :=


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 12th, 2018, 6:38 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 7th, 2018, 10:32 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 8th, 2018, 8:51 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(https?://.*?(funkyimg|postimg).+\.jpg)/.+\.jpg


Replace with:
Code:
$1


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 10th, 2018, 5:02 pm 

Joined: September 21st, 2011, 1:04 pm
Posts: 139
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 10th, 2018, 6:02 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
l would probably just do this:

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


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


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 39, 40, 41, 42, 43, 44, 45 ... 74  Next

Who is online

Users browsing this forum: No registered users and 13 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:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC