It is currently March 28th, 2024, 10:19 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 36, 37, 38, 39, 40, 41, 42 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: January 23rd, 2018, 11:42 pm 

Joined: January 23rd, 2018, 6:05 pm
Posts: 13
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  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
(?i)\[url=https?://picstate.+?\[/url\]


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

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


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

Joined: March 30th, 2015, 12:31 pm
Posts: 667
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  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
.+(http://(www\.)?imdb\.com.+?)\".+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

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


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

Joined: August 9th, 2017, 12:37 pm
Posts: 80
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  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
https?://www\.youtube[^\s]+


Replace with:
Code:
[media=$0]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Joined: August 9th, 2017, 12:37 pm
Posts: 80
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  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
https?://www\.youtube[^\s]+


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Joined: March 30th, 2015, 12:31 pm
Posts: 667
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  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
(.+?\|.+?\|\s*)\n(http://www\.imdb)


Replace with:
Code:
$1 $2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

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


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


Top
 Profile  
Reply with quote  
 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: 12630
Location: Earth
Search for:
Code:
(http://ouo\.io.+)/.+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 23rd, 2018, 5:37 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
worked fine thanks.

input:
Code:
<#stream#>https://www.rapidvideo.com/e/aaa/sdsd.mp4
</#stream#>



output
Code:
<#stream#>https://www.rapidvideo.com/e/aaa/sdsd.mp4</#stream#>


themaposter and themamanager has already option if there is more than 2 line gap, it will be auto remove. can you please tell me the regex replacer so i can do it in my pc text file as well.


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

Who is online

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