themaPoster http://poster.themasoftware.com/forum/ |
|
Forum replacements problems. http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634 |
Page 3 of 74 |
Author: | gufy [ January 8th, 2012, 7:58 pm ] |
Post subject: | Replacements problems. |
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. |
Author: | Freddy [ January 8th, 2012, 9:21 pm ] |
Post subject: | Re: Replacements problems. |
Yes, you can. Just use \n |
Author: | Freddy [ January 8th, 2012, 9:47 pm ] |
Post subject: | Re: Raplacements question |
Search string: \[url=http://(www\.)?imagebam.*?\](.*?)\[/url\] Replace with: $2 Enable the regex search. |
Author: | melapelatodo [ January 8th, 2012, 9:58 pm ] |
Post subject: | Re: Raplacements question |
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... |
Author: | Freddy [ January 8th, 2012, 10:20 pm ] |
Post subject: | Re: Raplacements question |
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. |
Author: | melapelatodo [ January 9th, 2012, 2:18 am ] |
Post subject: | Re: Raplacements question |
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? |
Author: | Freddy [ January 10th, 2012, 1:25 am ] |
Post subject: | Re: Raplacements question |
Deleted, but that actually doesn't matter. Everything in "Test" forum is deleted automatically after 30 days. |
Author: | bestfreeclip [ January 12th, 2012, 9:17 pm ] |
Post subject: | Re: Forum replacements problems. |
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
|
Author: | akamyhacker [ February 14th, 2012, 3:00 pm ] |
Post subject: | Regex help. |
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. |
Author: | Freddy [ February 14th, 2012, 7:53 pm ] |
Post subject: | Re: Regex help |
Search string: ([\w]+).*\.([\w]+)\.PPP\.(.*?)\..* Replace with: $1 - $2 ($3) Make sure to mark the "regex search" checkbox. |
Author: | melapelatodo [ December 11th, 2012, 12:48 am ] |
Post subject: | Re: Forum replacements problems. |
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. |
Author: | Freddy [ December 17th, 2012, 12:09 am ] |
Post subject: | Re: Forum replacements problems. |
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. |
Author: | Volger [ December 20th, 2012, 5:45 pm ] |
Post subject: | Re: Forum replacements problems. |
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 |
Author: | iceblue [ January 11th, 2013, 7:43 am ] |
Post subject: | help with regex |
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! |
Author: | Freddy [ January 12th, 2013, 1:52 pm ] |
Post subject: | Re: help with regex |
Search string: \[img\](.*?)\[/img\] Replace with: [url=$1]][img=$1][/url] Mark the regex checkbox. |
Page 3 of 74 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |