It is currently August 9th, 2020, 3:08 pm



Post new topic Reply to topic  [ 858 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 58  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: February 28th, 2013, 9:11 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 289
Wow! Thanks! Works fine. But I need to put <br /> tag, because post looks horrible!

I replaced all </a> with </a><br /> for get ONE space between lines but I don't now how to replace this:

This:

<b>File:</b> Elizabeth.wmv
<b>Size:</b> 903.43 MiB
<b>Duration:</b> 00:26:32
<b>Resolution:</b> 1280x720

To this:

<br />
<br />
<b>File:</b> Elizabeth.wmv<br />
<b>Size:</b> 903.43 MiB<br />
<b>Duration:</b> 00:26:32<br />
<b>Resolution:</b> 1280x720<br />
<br />


Thanks again!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 1st, 2013, 12:15 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10552
Location: Earth
Search: \n
Replace: <br/>

You can use non regex search for this.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 1st, 2013, 11:24 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 289
Ok, this replacements WORKS FINE! All BBCODE has been converted in pure HTML in ALL my post. Thanks a lot for you help Freddy. You are doing a hard work for us.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 1st, 2013, 5:43 pm 

Joined: September 19th, 2011, 12:30 am
Posts: 275
Quote:
Hello Freddy,

I would like to replace the 1fichier links, LuckyShare, Uploaded, Uptobox... with tags jbox.


Image

It is possible to replace a list of links with the tags jbox


By example :

Replace this links :

http://ul.to/djk2rjsj
http://ul.to/kjnfzm02
http://ul.to/3ze1l9zo
http://ul.to/pmcxc8vb
http://ul.to/zs5b364b
http://ul.to/8iteu623
http://ul.to/x3wdpbsk
http://ul.to/pliajr62
http://ul.to/54e6oo5q
http://ul.to/y4eja9p8
http://ul.to/a4u0czn2
http://ul.to/au88osfh
http://ul.to/hgjzlmj0

With :

Image


And also the same thing for the others hosts (1fichier, Uploaded, LuckyShare...)


Thanks in advance


I have a problem with the tags "jbox".

It is possible to replace the links with the tags "jbox"


at start of each link : (Only for Uploaded.net)

[jbox color="blue"][url]


at the end of each link :

[/url][/jbox]


Example :


Search string :

http://ul.to/hgjzlmj0


Replace with :

Image


Thanks in advance


Top
 Profile  
Reply with quote  
 Post subject: Regex replace in subject
PostPosted: March 11th, 2013, 8:21 am 

Joined: March 31st, 2012, 8:50 am
Posts: 326
i need help... some forums want title clean for movies.. example: Titanic (1997). but others want title like this: Titanic (1997) 1080p BluRay X264-BLOW

so, i need to know how to replace with regex all words after (year) with nothing.

example:

Titanic (1997) 1080p BluRay X264-BLOW
This Is 4O (2012) UNRATED 1080p BluRay REMUX AVC DTS-HD MA.5.1
Sorority Party Massacre (2013) DVDRip x264 AC3-OFFLiNE
Lincoln (2012) 1080p BluRay x264 DTS-MeRCuRY


to

Titanic (1997)
This Is 4O (2012)
Sorority Party Massacre (2013)
Lincoln (2012)


each movie have different tittle and i just want to disappear everything after (year) with regex. is possible? thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Regex replace in subject
PostPosted: March 11th, 2013, 9:42 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10552
Location: Earth
Search string: (.*?\([0-9]+\)).+
Replace with: $1

Mark the regex box.

Also wrong topic. Will merge with forum replacements.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 19th, 2013, 5:22 pm 

Joined: March 31st, 2012, 8:50 am
Posts: 326
i make a test now and i see not replace tags... i try to replace [b][i]test[ /i][ /b] with nothing and not working. see test topic...


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 19th, 2013, 5:28 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10552
Location: Earth
Make sure you don't have "Regex" enabled.

Works fine.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 19th, 2013, 5:44 pm 

Joined: March 31st, 2012, 8:50 am
Posts: 326
for me not works fine. regex is not enabled. :)

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 19th, 2013, 5:46 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10552
Location: Earth
Because you are posting like this:

Code:
[b][i]
test
[/i][/b]


Your replacement is only for single line like this:

Code:
[b][i] test [/i][/b]


If you want to replace the first one (with multi lines) you will need replacement like this:

Search string: (?ms)\[b\]\[i\].+?\[/i\]\[/b\]

Enable regex for this.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 19th, 2013, 5:59 pm 

Joined: March 31st, 2012, 8:50 am
Posts: 326
yeah...you have right. i did'nt know. thanks for let me know.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 1st, 2013, 8:06 pm 

Joined: January 20th, 2013, 5:46 am
Posts: 16
plz help me
i need to Convert
this

Code:
movie name

[url=imageurl.html][img]imageurl.jpg[/img][/url]

[url=http://filesflash.com/0g4qtkp7]file.flv - 114.65 MB[/url]


to this

Code:
[url=imageurl.html][img]imageurl.jpg[/img][/url]

[url=http://filesflash.com/0g4qtkp7]file.flv - 114.65 MB[/url]


thank you


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 1st, 2013, 8:20 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10552
Location: Earth
Is the "movie name" always the first line of your message? If yes you could just use "Message" menu -> "Remove first line when posting".

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 1st, 2013, 8:51 pm 

Joined: January 20th, 2013, 5:46 am
Posts: 16
Thanks Freddy


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 1st, 2013, 9:08 pm 

Joined: January 20th, 2013, 5:46 am
Posts: 16
sorry for ask again...

Code:
[URL=http://www.image.com/qgfriwbdh7w3/image.jpg.html][IMG]http://img21.image.com/i/01874/qgfriwbdh7w3_t.jpg[/IMG][/URL]

[url=http://filesflash.com/4sxncj4q]filename.mp4 - 3.64 MB[/url]


this to this

Code:
<a href="http://www.image.com/qgfriwbdh7w3/image.jpg.html"><img src="http://img21.image.com/i/01874/qgfriwbdh7w3_t.jpg"></a>

<a href="http://filesflash.com/4sxncj4q">filename.mp4 - 3.64 MB</a>


Thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 858 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 58  Next

Who is online

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