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

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

Author:  musaidi [ January 23rd, 2018, 11:42 pm ]
Post subject:  Re: Forum replacements problems.

I want cover and preview to be inside spoiler tag
Code:
[spoiler][/spoiler]

Author:  Freddy [ January 24th, 2018, 9:27 am ]
Post subject:  Re: Forum replacements problems.

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


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


Enable regex search.

Author:  musaidi [ January 24th, 2018, 12:42 pm ]
Post subject:  Re: Forum replacements problems.

I couldnt figure it out on my own, thanks for help mate

Author:  Crackpot [ January 28th, 2018, 1:34 am ]
Post subject:  Re: Forum replacements problems.

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/

Author:  Freddy [ January 28th, 2018, 10:33 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
.+(http://(www\.)?imdb\.com.+?)\".+


Replace with:
Code:
$1


Enable regex search.

Author:  Crackpot [ January 28th, 2018, 8:05 pm ]
Post subject:  Re: Forum replacements problems.

thanks

Author:  zaika [ January 31st, 2018, 8:52 pm ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ February 1st, 2018, 8:54 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
https?://www\.youtube[^\s]+


Replace with:
Code:
[media=$0]


Enable regex search.

Author:  zaika [ February 16th, 2018, 3:37 pm ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ February 16th, 2018, 8:12 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
https?://www\.youtube[^\s]+


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


Enable regex search.

Author:  Crackpot [ March 14th, 2018, 7:20 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Freddy [ March 16th, 2018, 7:25 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(.+?\|.+?\|\s*)\n(http://www\.imdb)


Replace with:
Code:
$1 $2


Enable regex search.

Author:  Crackpot [ March 22nd, 2018, 9:32 pm ]
Post subject:  Re: Forum replacements problems.

input:
Code:
http://ouo.io/xgUp8/12.Rounds.Reloaded.2013.1080p.BRRip.H264.AAC-RBG.rar


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

Author:  Freddy [ March 23rd, 2018, 12:24 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(http://ouo\.io.+)/.+


Replace with:
Code:
$1


Enable regex search.

Author:  Crackpot [ March 23rd, 2018, 5:37 pm ]
Post subject:  Re: Forum replacements problems.

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.

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