themaLeecher http://leecher.themasoftware.com/forum/ |
|
Replacements help topic. http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=5860 |
Page 5 of 19 |
Author: | VIPGFX [ November 4th, 2014, 1:03 pm ] |
Post subject: | Re: Replacements help topic. |
thanks, really don't know Thema have this type of nice feature..I will added more similar code myself. Code: [b]Release:[/b] Forte.Agent.v8.0.1272-TE [b]Size:[/b] 15.1 MB AFTER Code: [b]Forte Agent v8.0.1272-TE | 15.1 MB[/b] Need to replace space with [.]> before Code: Forte.Agent.v8.0.1272-TE after Code: Forte Agent v8.0.1272-TE
|
Author: | Freddy [ November 7th, 2014, 4:14 pm ] |
Post subject: | Re: Replacements help topic. |
Search for: Code: (?i)\[b\]Release:\[/b\] ?(.+)\s\[b\]Size:\[/b\] ?(.+) Replace with: Code: [b]$1 | $2[/b] Enable regex search. ---------------- Search for: Code: ([^0-9])\.([^0-9]) Replace with: Code: $1 $2 Enable regex search. |
Author: | VIPGFX [ November 7th, 2014, 9:02 pm ] |
Post subject: | Re: Replacements help topic. |
Code: Search for: [code] ([^0-9])\.([^0-9]) [/code] Replace with: [code] $1 $2 [/code] Enable regex search. thanks fReddy...but after ScreenFloat not converted . to space...yes, my msg works though. can you fix it up... Code: ScreenFloat.v1.5.11.Bilingual.MacOSX.Cracked-CORE I need this regex aslo> Code: ScreenFloat.v1.5.11.Bilingual.MacOSX.Cracked-CORE After> ScreenFloat v1.5.11 Bilingual MacOSX Before: Code: Sappers.Bad.Dream-WaLMaRT after: Code: Sappers Bad Dream
|
Author: | Freddy [ November 8th, 2014, 1:27 am ] |
Post subject: | Re: Replacements help topic. |
The replacement to replace . with space works fine for me. Just add simple replacements to remove -WaLMaRT and remove Cracked-CORE (not regex). |
Author: | johnny [ November 8th, 2014, 3:12 pm ] |
Post subject: | search for "word" and delete full line |
is there any way to add it? example I have message Code: [img]medium.jpeg[/img] [center] text[/center] [center] [url=http://link.com][b]Line I want to delete[/b][/url] [/center] [center] [url=http://www.filesharing.co]http://www.filesharing.co[/url] [/center] need to delete full line with exact matching phrase. Adding any word we need to find(most times it links)in this case we add"http://link.com" then simply delete this line Code: [img]medium.jpeg[/img] [center] text[/center] [center] [/center] [center] [url=http://www.filesharing.co]http://www.filesharing.co[/url] [/center] ---------------------------------------------------------------- pls add this if you can. |
Author: | Freddy [ November 9th, 2014, 11:23 am ] |
Post subject: | Re: Replacements help topic. |
See the FAQ about replacements: http://leecher.freddy.lt/faq.php There is 100% the same example of what you want to do. |
Author: | johnny [ November 9th, 2014, 12:21 pm ] |
Post subject: | Re: Replacements help topic. |
sorry |
Author: | suku [ November 15th, 2014, 3:07 am ] |
Post subject: | Re: Replacements help topic. |
My image link is before Code: [url=http://www.girlscanner.com/go?a%3AaHR0cDovL3FycnJvLmNvbS9pbWFnZXMvMjAxNC8xMC9rdHl2b2E1NGIwamJpcWk3bzZpMy5qcGcuaHRtbA%3D%3D][img]http://qrrro.com/images/2014/10/ktyvoa54b0jbiqi7o6i3.jpg[/img][/url] But i want to change like this Code: [URL=http://qrrro.com/images/2014/10/ktyvoa54b0jbiqi7o6i3.jpg.html][img]http://qrrro.com/images/2014/10/ktyvoa54b0jbiqi7o6i3.jpg[/img][/url] Another question is about download link my all download codes are encoded, like Code: [url=http://www.girlscanner.com/go?a%3AaHR0cDovL2xldGl0Yml0Lm5ldC9kb3dubG9hZC81ODU0Ny41ZTM1YTg5ZTZmZTRhNTZlODg4ZGNmZDBjYjJlL29yaWdfYzAzZWFhOTBmZC53bXYuaHRtbA%3D%3D]Download from Letitbit[/url] but i want it docded like Code: http://www.letitbit.net/download/58547.5e35a89e6fe4a56e888dcfd0cb2e/orig_c03eaa90fd.wmv.html please suggest me what to write in replacement... |
Author: | frame28 [ November 17th, 2014, 5:47 am ] |
Post subject: | Re: Replacements help topic. |
Hello, i wish to change: Code: [img]http://tv-release.net/images/hugefiles.png[/img]http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html to Code: http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html actually , i wanted to replace: Code: [img]http://tv-release.net/images/hugefiles.png[/img][url=http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html]http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html[/url] with file link only.. so i applied the regexp string from your faq but now i have the bbcode image problem.. |
Author: | Freddy [ November 17th, 2014, 7:52 am ] |
Post subject: | Re: Replacements help topic. |
@suku If for all images this would work: Search for: Code: \[url=.+?\]\[img\](.+?)\[/img]\[/url\] Replace with: Code: [url=$1][img]$1[/img][/url] Enable regex search. --------------------------- That's not possible with replacements. It can't visit the link, it simply replaces the existing text to something else and since each link is unique it's not possible to just "guess" it. @frame28 The first part just looks like you want to remove the image. Just add simple replacement to search for: Code: [img]http://tv-release.net/images/hugefiles.png[/img] Replace with: Code: (leave empty) Do NOT enable regex (this is not regex search). I didn't really understood the second part. |
Author: | frame28 [ November 17th, 2014, 8:06 am ] |
Post subject: | Re: Replacements help topic. |
lets say i want Code: [img]http://tv-release.net/images/hugefiles.png[/img][url=http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html]http://hugefiles.net/j0pt4yfy4r85/Atanas.Neshkov.DJ.Java.Decompiler.v3.12.12.98.Incl.KeyMaker.and.PatchDVT.rar.html[/url] replaced with the file link only..above case it is http://hugefiles.net/j0pt4yfy4r85/Atana ... T.rar.html of course img links and file links change everytime |
Author: | Freddy [ November 17th, 2014, 8:17 am ] |
Post subject: | Re: Replacements help topic. |
Search for: Code: \[img\]http://tv-release.+?\[/img\]\[url=(.+?)\].+?\[/url\] Replace with: Code: $1 Enable regex search. |
Author: | frame28 [ November 17th, 2014, 8:21 am ] |
Post subject: | Re: Replacements help topic. |
thank you. Great support |
Author: | suku [ November 17th, 2014, 12:01 pm ] |
Post subject: | Re: Replacements help topic. |
Freddy wrote: @suku If for all images this would work: Search for: Code: \[url=.+?\]\[img\](.+?)\[/img]\[/url\] Replace with: Code: [url=$1][img]$1[/img][/url] Enable regex search. --------------------------- That's not possible with replacements. It can't visit the link, it simply replaces the existing text to something else and since each link is unique it's not possible to just "guess" it. Thanks Freddy for image link it works... But can u help me with download link means how to extract the actual download link... |
Author: | Freddy [ November 17th, 2014, 12:50 pm ] |
Post subject: | Re: Replacements help topic. |
Only by hand at the moment. Or just find another website with same content which does not have encoded links. |
Page 5 of 19 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |