themaLeecher
http://leecher.themasoftware.com/forum/

Replacements help topic.
http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=5860
Page 13 of 19

Author:  Arni77777 [ December 20th, 2016, 2:13 pm ]
Post subject:  Re: Help with regular expression

Yes, of course Freddy. Here is the text version.

Code:
[b]Teacher wants to [/b]

[center][img]http://fastpic.ru/view/82/2016/0909/3cdeb88c62cf7d368abf145a6b0f71f5.jpg[/ img]
[img]http://fastpic.ru/view/78/2016/0909/2a8db04a6689dbe6728d61863bb65003.jpg[/ img][/center]

[center]Documentary images of arbitrary text...

Runtime: 28min 57s
File Size: 751 MB
Resolution: 1280x720
Audio: AAC LC
Genre(s): Creampie Girl,Voyeur

[img]http://imagetwist.com/wp-content/uploads/2014/19/look-prints.gif[/ img]

[b]Download Depfile.com[/b]

[b][url=http://click.tf/R6n0GD2yX/Teacher_wants_to.mkv]Teacher wants to[/ url][/b][/center]

[center][b][color=#123]It sure feels good to be a step brother today[/color][/b][/center]

Author:  Freddy [ December 25th, 2016, 2:56 pm ]
Post subject:  Re: Help with regular expression

The image link doesn't work. You might want to change it to something what works.

This would add those two lines after line with word "Genre":

Search for:
Code:
Genre.+


Replace with:
Code:
$0\n\n[img]http://imagetwist.com/wp-content/uploads/2014/19/look-prints.gif[/img]\n\n[b]Download Depfile.com[/b]


Enable regex search.

Author:  Arni77777 [ December 25th, 2016, 3:12 pm ]
Post subject:  Re: Help with regular expression

Thanks Freddy. Everything works like a clock. :)

Author:  Arni77777 [ March 11th, 2017, 10:03 pm ]
Post subject:  Regular expression for DLE

Hello Freddy. Please tell me a regular expression to get a delimiter for DLE

example

Code:
[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/img]

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/img]

[url=http://turbobit.net/j7fTOqnWm.html]Download From turbobit[/url]


necessary

Code:
[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/img]

==========

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/img]

[url=http://turbobit.net/j7fTOqnWm.html]Download From turbobit[/url]


info. In each clip are different

example

clip1

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

clip2

2016 | MP4 | HD | 1280×720 | 01:05:34 | 2,34 GB

clip3

Format: Windows Media
Duration: 00:06:41
Video: VC-1 (Microsoft), 1280×720, 29.970 fps, 4000 Kbps
Audio: WMA Pro, 48.0 KHz, 6 channels, 384 Kbps
Size: 211 MB

and so on...

Author:  Freddy [ March 24th, 2017, 10:03 am ]
Post subject:  Re: Regular expression for DLE

Search for:
Code:
^\[img.+\n


Replace with:
Code:
$0\n==========\n


Enable regex search.

The image must be in the first line.

Author:  Xfactormaster [ July 23rd, 2017, 12:08 pm ]
Post subject:  Re: Replacements help topic.

I already leeched 20000 messages, and saved as a single file.
It has the following format.

Code:
[url=http://pzy.be/v/2/Club+dancer+Priya+performing+b4+hubby_thumb.jpg][img]http://pzy.be/i/2/Club+dancer+Priya+performing+b4+hubby_thumb.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url=http://filesflash.net/7f7kvqfm]http://filesflash.net/7f7kvqfm[/url]
************************************************************************
[b][color=Red]Chubby GF doggy fuck by BF[/color][/b]
[url=http://pzy.be/v/2/Chubby+GF+doggy+fuck+with+BF_thumb.jpg][img]http://pzy.be/i/2/Chubby+GF+doggy+fuck+with+BF_thumb.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url=http://filesflash.net/s4b1wwqs]http://filesflash.net/s4b1wwqs[/url]
************************************************************************
[url=http://pzy.be/v/2/Indian+Beauty+-+new+world+of+satisfaction.flv_thumbs_%5B2013.08.26_10.01.20%5D.jpg][img]http://pzy.be/i/2/Indian+Beauty+-+new+world+of+satisfaction.flv_thumbs_%5B2013.08.26_10.01.20%5D.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url=http://filesflash.net/op5bmtg1]http://filesflash.net/op5bmtg1[/url]
************************************************************************


I need the http://filesflash.net/xxxxxxxx line to be changed.
The output should be

Code:
[url=http://pzy.be/v/2/Club+dancer+Priya+performing+b4+hubby_thumb.jpg][img]http://pzy.be/i/2/Club+dancer+Priya+performing+b4+hubby_thumb.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url]http://filesflash.net/7f7kvqfm[/url]
************************************************************************
[b][color=Red]Chubby GF doggy fuck by BF[/color][/b]
[urlhttp://pzy.be/v/2/Chubby+GF+doggy+fuck+with+BF_thumb.jpg][img]http://pzy.be/i/2/Chubby+GF+doggy+fuck+with+BF_thumb.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url]http://filesflash.net/s4b1wwqs[/url]
************************************************************************
[url=http://pzy.be/v/2/Indian+Beauty+-+new+world+of+satisfaction.flv_thumbs_%5B2013.08.26_10.01.20%5D.jpg][img]http://pzy.be/i/2/Indian+Beauty+-+new+world+of+satisfaction.flv_thumbs_%5B2013.08.26_10.01.20%5D.jpg[/img][/url]
[b][color=Blue]Download from anyone of the following link[/color][/b]
[url]ttp://filesflash.net/op5bmtg1[/url]
************************************************************************

Author:  Freddy [ July 25th, 2017, 6:53 am ]
Post subject:  Re: Replacements help topic.

You can add replacement and apply it to already leeched message (there is a button above the messages) and after that save them to a file again.

Or use notepad++, it has regex replacement feature as well.

Search for:
Code:
\[url=(http://filesflash\.net.+?)].+?\[/url\]


Replace with:
Code:
[url]$1[/url]


Enable regex search.

Author:  Arni77777 [ July 28th, 2017, 10:32 am ]
Post subject:  Re: Replacements help topic.

Hello Freddy. Please tell me a regular expression to get a duplicate picture after the separator for DLE

example

Quote:
[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

==========

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/ img]

[url=http:// turbobit.net/j7fTOqnWm.html]Download From turbobit[/ url]



necessary


Quote:
[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

==========

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/ img]

[url=http:// turbobit.net/j7fTOqnWm.html]Download From turbobit[/ url]

Author:  Freddy [ August 3rd, 2017, 2:13 pm ]
Post subject:  Re: Replacements help topic.

If it's always in the first line like that this would work:

Search for:
Code:
^(.+)(\s*==========)


Replace with:
Code:
$1$2\n\n$1


Enable regex search.

Author:  Arni77777 [ August 9th, 2017, 10:57 am ]
Post subject:  Re: Replacements help topic.

The picture is not the first line. It can be a 2-5 line.

example


Quote:
Aki Sasaki That Bass Krissy Lynn

Real Works 54

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

==========

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/ img]

[url=http:// turbobit.net/j7fTOqnWm.html]Download From turbobit[/ url]


necessary

Quote:
Aki Sasaki That Bass Krissy Lynn

Real Works 54

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

==========

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_cover.jpg[/ img]

Info:
Format: mp4
Runtime : 31min 42s
File Size : 470 MB
Resolution : 960×540
Audio : AAC LC
Screenlist:

[img]http://fastpic.ru/wp-content/uploads/2016/03/Cunt_Audition_thumb.jpg[/ img]

[url=http:// turbobit.net/j7fTOqnWm.html]Download From turbobit[/ url]

Author:  Freddy [ August 11th, 2017, 7:16 am ]
Post subject:  Re: Replacements help topic.

Search for:
Code:
(.*fastpic.+)\s+==========


Replace with:
Code:
$0\n\n$1


Enable regex search.

Btw, you can use "code" tags in forum (not "quote") when posting examples so you won't need to add extra spaces. "code" tags does not parse BBCode inside.

Author:  Arni77777 [ August 11th, 2017, 8:13 am ]
Post subject:  Re: Replacements help topic.

Thank you Freddy. Everything is working. About the code I understood. I will now use it.

Author:  Freedom35 [ December 11th, 2017, 9:25 am ]
Post subject:  Re: Replacements help topic.

Hey Freddy

Can you help me leave ONLY 30 characters after specific phrase (images/M/):
Before:
Code:
https://images-na.ssl-images-amazon.com/images/M/MV5BYjFiYzBkOTQtYmU5NS00NTE3LWI3YWItOThhMTIzOWM5ZDRjXkEyXkFqcGdeQXVyMzI5NjUyMDM@._V1_SX300.jpg


After:
Code:
https://images-na.ssl-images-amazon.com/images/M/MV5BYjFiYzBkOTQtYmU5NS00NTE3LW


so basically I want to have only 30 characters in filename... I need it so I could match links by filename.

Thanks :)

Author:  Freddy [ December 12th, 2017, 8:53 am ]
Post subject:  Re: Replacements help topic.

@Freedom35

Search for:
Code:
(images/M/[\w\W]{30}).+


Replace with:
Code:
$1


Enable regex search.

Author:  Freedom35 [ December 12th, 2017, 9:07 pm ]
Post subject:  Re: Replacements help topic.

Thank You Freddy it's working great

Page 13 of 19 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/