It is currently June 22nd, 2018, 12:51 pm



Post new topic Reply to topic  [ 627 posts ]  Go to page Previous  1 ... 36, 37, 38, 39, 40, 41, 42  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: January 23rd, 2018, 9:14 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Yes, I would need full "before" and "after" example.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 23rd, 2018, 11:42 pm 

Joined: January 23rd, 2018, 6:05 pm
Posts: 5
I want cover and preview to be inside spoiler tag
Code:
[spoiler][/spoiler]


Last edited by musaidi on January 24th, 2018, 1:00 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 24th, 2018, 9:27 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
(?i)\[url=https?://picstate.+?\[/url\]


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


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 24th, 2018, 12:42 pm 

Joined: January 23rd, 2018, 6:05 pm
Posts: 5
I couldnt figure it out on my own, thanks for help mate


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 28th, 2018, 1:34 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 114
input
Code:
<a href="http://www.imdb.com/title/tt6237612/" target="_blank" rel="external nofollow"> <img class="" src="https://i.imgur.com/DdvYux7.png" alt="Accident Man" width="32"></a>


output
Code:
http://www.imdb.com/title/tt6237612/


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 28th, 2018, 10:33 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
.+(http://(www\.)?imdb\.com.+?)\".+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 28th, 2018, 8:05 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 114
thanks


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: January 31st, 2018, 8:52 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 21
how is possible replace youtube videofor example:

https://www.youtube.com/watch?v=77xA7ggBPUA

in

[media=https://www.youtube.com/watch?v=77xA7ggBPUA]

Thx you Freddy


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: February 1st, 2018, 8:54 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
https?://www\.youtube[^\s]+


Replace with:
Code:
[media=$0]


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: February 16th, 2018, 3:37 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 21
how is possible replace youtube videofor example:

https://www.youtube.com/watch?v=77xA7ggBPUA

in

[videourl]https://www.youtube.com/watch?v=77xA7ggBPUA[/videourl]

Thx you Freddy


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: February 16th, 2018, 8:12 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
https?://www\.youtube[^\s]+


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


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: March 14th, 2018, 7:20 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 114
input:
Code:
<div class="post">98 min| Action, Thriller | R |
http://www.imdb.com/title/tt1606378/


output:
Code:
<div class="post">98 min| Action, Thriller | R | http://www.imdb.com/title/tt1606378/



this line variable:
Code:
<div class="post">98 min| Action, Thriller | R |

it can be
Code:
<div class="post">102min min| Animation, Thriller | PG-13 |



i tried to use
Code:
\nhttp://www.imdb.com replace with http://www.imdb.com


cannot use \n in first line because some post has different ending for first line.


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: March 16th, 2018, 7:25 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
(.+?\|.+?\|\s*)\n(http://www\.imdb)


Replace with:
Code:
$1 $2


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: March 22nd, 2018, 9:32 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 114
input:
Code:
http://ouo.io/xgUp8/12.Rounds.Reloaded.2013.1080p.BRRip.H264.AAC-RBG.rar


output:
Code:
http://ouo.io/xgUp8


Top
 Profile  
 
 Post subject: Re: Forum replacements problems.
PostPosted: March 23rd, 2018, 12:24 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 8841
Location: Earth
Search for:
Code:
(http://ouo\.io.+)/.+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaManager | themaLeecher | themaRegister


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 627 posts ]  Go to page Previous  1 ... 36, 37, 38, 39, 40, 41, 42  Next

Who is online

Users browsing this forum: No registered users and 6 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