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

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

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

Search for:
Code:
\n</#stream#>


Replace with:
Code:
</#stream#>


Simple replacement (not regex).




Search for:
Code:
\n{3,}


Replace with:
Code:
\n\n


Regex replacement.

Author:  Crackpot [ March 26th, 2018, 6:19 pm ]
Post subject:  Re: Forum replacements problems.

input:

Code:
1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part1.rar : https://1fichier.com/?couyqe1sny
1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part2.rar : https://1fichier.com/?09p7hd8y5g
1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part3.rar : https://1fichier.com/?r9h611p0ut


output
Code:
https://1fichier.com/?couyqe1sny/1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part1.rar
https://1fichier.com/?09p7hd8y5g1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part2.rar
https://1fichier.com/?r9h611p0ut/1922.2017.1080p.NF.WEB-DL.DD5.1.x264-NTG.part3.rar


===============

input:
Code:
Nacho Libre 2006 1080p BRRip AAC-MKV


output
Code:
Nacho Libre (2006)

Author:  Freddy [ March 29th, 2018, 8:59 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(.+) : (https://1fichier.+)


Replace with:
Code:
$2/$1


Regex replacement.

=================

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


Replace with:
Code:
$1($2)


Regex replacement.

Author:  melapelatodo [ April 11th, 2018, 3:51 pm ]
Post subject:  Re: Forum replacements problems.

Hello Freddy. How to get this replacement with regex?

Before:
Code:
<a href="http://imagetwist.com/aja57622cx6v/LoliBay.net_-_JSProductions_-_Leonie_Set28_009.jpg" target="_blank">


Note: This part it is always with different names: "aja57622cx6v/LoliBay.net_-_JSProductions_-_Leonie_Set28_009.jpg"

After:
Code:
<a href="http://lolibay.pw/te3/out.php" target="_blank">

Author:  Freddy [ April 11th, 2018, 6:14 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
<a href=\"http://imagetwist.+?\".*>


Replace with:
Code:
<a href="http://lolibay.pw/te3/out.php" target="_blank">


Enable regex search.

Author:  melapelatodo [ April 11th, 2018, 7:59 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
Search for:
Code:
<a href=\"http://imagetwist.+?\".*>


Replace with:
Code:
<a href="http://lolibay.pw/te3/out.php" target="_blank">


Enable regex search.


I forgot to say I'm using it in themamanager. I got an error: http://prntscr.com/j3zas9
This is the post: http://prntscr.com/j3zbf6

Author:  Freddy [ April 12th, 2018, 8:06 am ]
Post subject:  Re: Forum replacements problems.

Replace text feature there does not support regex.

You could add replacement in needed website(s) in "WEBSITES" -> select needed -> "Replacements" tab.

Then use search text feature to replace "imagetwist" to "imagetwist" (yes, to exactly the same text). This will just trigger editing procedure and replacement will be applied when editing.

Author:  zaika [ April 15th, 2018, 3:51 pm ]
Post subject:  Re: Forum replacements problems.

how is possible replace youtube videofor example:

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

in

[youtube]77xA7ggBPUA[/youtube]

Author:  Freddy [ April 15th, 2018, 4:13 pm ]
Post subject:  Re: Forum replacements problems.

If youtube link is the only text in a line then this would work fine:

Search for:
Code:
https?://www\.youtube.+


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


Enable regex search.

Author:  zaika [ April 20th, 2018, 2:28 pm ]
Post subject:  Re: Forum replacements problems.

hi need help freddy, strangely in invision forum i need to add YOUTUBE video i know that BBC is [ media] [/ media] (withoout blank space) but dont work for make work video i must add direct link of youtube and ADD at the END one BLANK SPACE.... i dont know but only so work adding blank space at the end the editor show video so is possible do this?

i means intead of

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

change with

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


or may be you have other solution for IPB 4.x and youtube video to show....

Author:  Freddy [ April 20th, 2018, 5:26 pm ]
Post subject:  Re: Forum replacements problems.

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


Replace with:
Code:
$0


Enable regex search.

Note: there is a space at the end of "Replace with".

Author:  zaika [ April 21st, 2018, 1:11 pm ]
Post subject:  Re: Forum replacements problems.

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


Replace with:
Code:
$0


Enable regex search.

Note: there is a space at the end of "Replace with".


very strange but seems that not work always show ONLY link without any space i MUSt EDIT article addin manually BLANK_SPACE at the end for view Video appear very strange i was thinking that IPB 4 have one BBC TAGS for video for example [ media].. but this too dont work

Author:  Freddy [ April 21st, 2018, 1:35 pm ]
Post subject:  Re: Forum replacements problems.

Contact their admins to fix that issue.

It looks like issue in forum itself.

Author:  ad-team [ April 21st, 2018, 4:53 pm ]
Post subject:  Re: Forum replacements problems.

Hi bro

before
[code]https://www.youtube.com/watch?v=rDqtgjzTLoo[/ code]

after

[FLASH = 425,350] https://www.youtube.com/v/rDqtgjzTLoo [/ FLASH]
also
before
[code]https://www.youtube.com/watch?v=NrheZZZVm4Q[/ code]

after

[BBvideo]https://www.youtube.com/watch?v=NrheZZZVm4Q[/BBvideo]

Author:  Freddy [ April 21st, 2018, 5:25 pm ]
Post subject:  Re: Forum replacements problems.

@ad-team , use "code" tags in the examples (that way you don't need add any extra spaces).

Code:
[code]Example[/code]


Search for:
Code:
\[code\](https?://www\.youtube.+?v=.+?)\[/code\]


Replace with:
Code:
[FLASH=425,350]https://www.youtube.com/v/rDqtgjzTLoo[/FLASH]


Enable regex search.

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