It is currently March 28th, 2024, 11:38 pm



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

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 26th, 2018, 6:19 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 29th, 2018, 8:59 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 11th, 2018, 3:51 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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">


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 11th, 2018, 6:14 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
<a href=\"http://imagetwist.+?\".*>


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 11th, 2018, 7:59 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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


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

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 15th, 2018, 3:51 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

[youtube]77xA7ggBPUA[/youtube]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 15th, 2018, 4:13 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 20th, 2018, 2:28 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 20th, 2018, 5:26 pm 
Site Admin
User avatar

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


Replace with:
Code:
$0


Enable regex search.

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 21st, 2018, 1:11 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 21st, 2018, 1:35 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Contact their admins to fix that issue.

It looks like issue in forum itself.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 21st, 2018, 4:53 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 21st, 2018, 5:25 pm 
Site Admin
User avatar

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

_________________
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 ... 37, 38, 39, 40, 41, 42, 43 ... 74  Next

Who is online

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