It is currently July 5th, 2020, 4:59 am



Post new topic Reply to topic  [ 852 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 57  Next
Author Message
 Post subject: Re: Raplacements question
PostPosted: January 8th, 2012, 2:30 pm 

Joined: March 18th, 2011, 1:21 am
Posts: 26
Try it like I said here : viewforum.php?f=17 before speak that is impossible !!! :evil:


Top
 Profile  
Reply with quote  
 Post subject: Replacements problems.
PostPosted: January 8th, 2012, 7:58 pm 

Joined: December 7th, 2011, 12:25 pm
Posts: 16
can I create line feed in a replacement?

Search string: (?mis)\s*\[remove\].*?\[/remove\]\s*
Replace with: Line Feed

"\n\r"?
"$10$13"?
"#10#13"?

Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements problems.
PostPosted: January 8th, 2012, 9:21 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
Yes, you can.

Just use \n

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Raplacements question
PostPosted: January 8th, 2012, 9:47 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
Search string: \[url=http://(www\.)?imagebam.*?\](.*?)\[/url\]
Replace with: $2

Enable the regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Raplacements question
PostPosted: January 8th, 2012, 9:58 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 289
Thanks a lot for your response! This way do not run Freddy. I've testing in test area and URL it's not deleted. I don't how to do :(

I enabled regex search and I copy paste the whole string without any results...


Top
 Profile  
Reply with quote  
 Post subject: Re: Raplacements question
PostPosted: January 8th, 2012, 10:20 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
Make sure you really have that replacement on this forum. Make sure there are no spaces at the end or at the start in search string.

I just tested with the same image, here: viewtopic.php?f=17&t=3497 , works fine.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Raplacements question
PostPosted: January 9th, 2012, 2:18 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 289
Ok, works fine!! Thanks for your help Freddy! I was wrong in space at the end. Can you delete the test post or can I do it myself?


Top
 Profile  
Reply with quote  
 Post subject: Re: Raplacements question
PostPosted: January 10th, 2012, 1:25 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
Deleted, but that actually doesn't matter. Everything in "Test" forum is deleted automatically after 30 days.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: January 12th, 2012, 9:17 pm 

Joined: November 18th, 2011, 8:46 pm
Posts: 43
hi... i am always taking lings with forum urls... how can i do this only for download links:

before:
Code:
[url=http://oron.com/ceg24nketen7]Maruschka_Detmers_Diavolo_in_corpo_explicit_scene.avi[/url]


i want like this:
Code:
http://oron.com/ceg24nketen7


Top
 Profile  
Reply with quote  
 Post subject: Regex help.
PostPosted: February 14th, 2012, 3:00 pm 

Joined: May 4th, 2011, 8:40 pm
Posts: 32
If a post title is this:
Beautiful.12.01.27.Nature.PPP.1080p.MP4-QW
How can i convert it to like this:
Beautiful - Nature (1080p)

Another example:
IQAzw.10.01.27.WXzr.PPP.720p.WMV-GT
will be:
IQAzw - WXzr (720P)

I have tried:
Code:
(.+?)(?:\.\d+\.\d+\.\d+\.|\.)(.+?)(?:\.PPP(?:\.\d{4}\..+?|))\.(720p|1080p|dvdrip|)(?:\.|)(?:.+?)-(?:.+)


but did not work.


Top
 Profile  
Reply with quote  
 Post subject: Re: Regex help
PostPosted: February 14th, 2012, 7:53 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
Search string: ([\w]+).*\.([\w]+)\.PPP\.(.*?)\..*
Replace with: $1 - $2 ($3)

Make sure to mark the "regex search" checkbox.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 11th, 2012, 12:48 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 289
I've tried with much ways but I haven't found the regex configuration. Any one knows how to replace this? I think it's easy but I don't know how to do it!

Obviously, my question it's about " <a href=", "" target="_blank">

Before:

Code:
[CENTER]
[URL=http://pimpandhost.com/image/18557598-original.html][IMG]http://ist1-4.filesor.com/pimpandhost.com/6/8/4/9/68493/1/f/R/G/1fRG6/mosaic6395b3842a90a1dbf0dc0bf52f67898fd87326fb_m.jpg[/IMG][/URL]

[b]File Size:[/b] 164Mb | [b]Quantity:[/b] 326 | [b]Resolution:[/b] 1896x2530

[b]Uploaded:[/b]
[links]http://ul.to/q79qow4c[/links]
[/CENTER]



After:

Code:
<a href="http://pimpandhost.com/image/18557598-original.html" target="_blank"><img src="http://ist1-4.filesor.com/pimpandhost.com/6/8/4/9/68493/1/f/R/G/1fRG6/mosaic6395b3842a90a1dbf0dc0bf52f67898fd87326fb_m.jpg"></a>

<strong>File Size:</strong> 164Mb | <strong>Quantity:</strong> 326 | <strong>Resolution:</strong> 1896x2530

<strong>Uploaded:</strong><br />
<a href="http://ul.to/q79qow4c" target="_blank">http://ul.to/q79qow4c</a>



I know online programs like BBCODE to HMTL but the basic idea it's not wasting a lot of time converting every post to HTML.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 17th, 2012, 12:09 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 10497
Location: Earth
You could use something like this for urls.

Search string: http://[^\s\[\]<'\"]+
Replace with: <a href="$0" target="_blank">$0</a>

Mark the regex box.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 20th, 2012, 5:45 pm 

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

I would like to replace the links of 1fichier.com by nothing, but i can't.

Exemple of 1fichier links :

http://i1y3io.1fichier.com/

http://4qggw3.1fichier.com/

http://p9n36v.1fichier.com/

http://y6r5mk.1fichier.com/

http://jvtrv9.1fichier.com/


And also, i would like to replace this words by nothing :

Open this text in a new tab, i've written the words to replace by nothing :

http://tny.cz/36ce106f


Top
 Profile  
Reply with quote  
 Post subject: help with regex
PostPosted: January 11th, 2013, 7:43 am 

Joined: March 31st, 2012, 8:50 am
Posts: 326
i don't know how work this (regex) and i need help... i want to change this code

[img]link_image.jpg[/img]

with this code

[url=link_image.jpg]][img=link_image.jpg][/url]

images will have different extensions... jpg, jpeg, png, gif etc

thanks! :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 852 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 57  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