It is currently October 9th, 2024, 4:59 pm



Post new topic Reply to topic  [ 285 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 19  Next
Author Message
 Post subject: Re: Replacements help topic.
PostPosted: November 4th, 2014, 1:03 pm 

Joined: August 27th, 2013, 6:54 pm
Posts: 186
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 7th, 2014, 4:14 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 7th, 2014, 9:02 pm 

Joined: August 27th, 2013, 6:54 pm
Posts: 186
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 8th, 2014, 1:27 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12897
Location: Earth
The replacement to replace . with space works fine for me.

Just add simple replacements to remove -WaLMaRT and remove Cracked-CORE (not regex).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: search for "word" and delete full line
PostPosted: November 8th, 2014, 3:12 pm 

Joined: March 15th, 2014, 1:51 am
Posts: 15
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 9th, 2014, 11:23 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12897
Location: Earth
See the FAQ about replacements: http://leecher.freddy.lt/faq.php

There is 100% the same example of what you want to do.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 9th, 2014, 12:21 pm 

Joined: March 15th, 2014, 1:51 am
Posts: 15
sorry


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 15th, 2014, 3:07 am 

Joined: May 16th, 2011, 4:57 am
Posts: 37
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...


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 5:47 am 

Joined: November 13th, 2014, 12:30 am
Posts: 7
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..


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 7:52 am 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 8:06 am 

Joined: November 13th, 2014, 12:30 am
Posts: 7
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 8:17 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12897
Location: Earth
Search for:
Code:
\[img\]http://tv-release.+?\[/img\]\[url=(.+?)\].+?\[/url\]


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 8:21 am 

Joined: November 13th, 2014, 12:30 am
Posts: 7
thank you. Great support


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 12:01 pm 

Joined: May 16th, 2011, 4:57 am
Posts: 37
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...


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 17th, 2014, 12:50 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12897
Location: Earth
Only by hand at the moment. Or just find another website with same content which does not have encoded links.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Who is online

Users browsing this forum: Google [Bot] and 1 guest


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