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

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

Author:  wolf2 [ February 14th, 2015, 3:05 pm ]
Post subject:  Re: Replacements help topic.

Freddy wrote:
Search for:
Code:
(?i).*uploadable.*\s


Replace with:
Code:
(leave empty)


Enable regex search.


Thanks! Can you also tell me what do i need to do to remove only rapidgator links? Tried same code with just changing the host name, and it doesnt work.


Before:
Code:
[b]Uploadable:[/b]
[url=http://www.uploadable.ch/file/4qprq744gcFg/Setsuna_Sweet_Living.rar]http://www.uploadable.ch/file/4qprq7...eet_Living.rar[/url]
[b]Rapidgator:[/b]
[url=http://rapidgator.net/file/1ec557ff91cb8be1bd69cb4eb4374e3b/Setsuna_Sweet_Living.rar.html]http://rapidgator.net/file/1ec557ff9...iving.rar.html[/url]


After:
Code:
[b]Uploadable:[/b]
[url=http://www.uploadable.ch/file/4qprq744gcFg/Setsuna_Sweet_Living.rar]http://www.uploadable.ch/file/4qprq7...eet_Living.rar[/url]

Author:  Freddy [ February 14th, 2015, 5:00 pm ]
Post subject:  Re: Replacements help topic.

Search for:
Code:
(?i).*rapidgator.*\s?


Replace with:
Code:
(leave empty)


Enable regex search.

It's not the same. Added question mark at the end (you can use that for any host just by changing the host, even for uploadable). It's just a bit more universal.

Author:  VIPGFX [ March 12th, 2015, 10:11 pm ]
Post subject:  Re: Replacements help topic.

how to remove this crappy extra space/entered space with regex?
thanks.
before
Code:
Learn how to customize list forms in SharePoint-the
no-code way This course offers lessons on using InfoPath
and SharePoint, along with Access web apps and Excel
surveys, to build and edit list forms. Author Gini Courter
shows how to tweak SharePoint's default list forms, edit
forms in InfoPath Designer, build browser-based forms with
Access, and collect and share data with Excel surveys. Watch
to discover the right option for your SharePoint
form-development workflow.


after
Code:
Learn how to customize list forms in SharePoint-the no-code way This course offers lessons on using InfoPath and SharePoint, along with Access web apps and Excel surveys, to build and edit list forms. Author Gini Courter shows how to tweak SharePoint's default list forms, edit forms in InfoPath Designer, build browser-based forms with Access, and collect and share data with Excel surveys. Watch to discover the right option for your SharePoint form-development workflow.

Author:  Freddy [ March 13th, 2015, 4:46 am ]
Post subject:  Re: Replacements help topic.

Could you give me URL where this is leeched from?

Author:  minano [ March 18th, 2015, 2:25 pm ]
Post subject:  Re: Replacements help topic.

Before
Code:
[quote][center]

http://www.nitroflare.com/view/AB48CCA1E354545/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://www.nitroflare.com/view/717B28339E26331/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://www.nitroflare.com/view/A0789B0CFF36120/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar

http://uploaded.net/file/3qztajj3/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://uploaded.net/file/2ptnkqpb/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://uploaded.net/file/nhuubxk4/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar

http://www.uploadable.ch/file/cAXM3WMR3nW9/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://www.uploadable.ch/file/7mygSvVkSZAc/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://www.uploadable.ch/file/7eJXkhT8T4pT/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar
[/center][/quote]



After


[quote][center]
http://uploaded.net/file/3qztajj3/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://uploaded.net/file/2ptnkqpb/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://uploaded.net/file/nhuubxk4/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar

http://www.nitroflare.com/view/AB48CCA1E354545/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://www.nitroflare.com/view/717B28339E26331/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://www.nitroflare.com/view/A0789B0CFF36120/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar

http://www.uploadable.ch/file/cAXM3WMR3nW9/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://www.uploadable.ch/file/7mygSvVkSZAc/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://www.uploadable.ch/file/7eJXkhT8T4pT/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar
[/center][/quote]


Before
Code:
[code]

http://uploaded.net/file/3qztajj3/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://uploaded.net/file/2ptnkqpb/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://uploaded.net/file/nhuubxk4/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar
...........................................................................................n.rar[/code]


After

Code:
[code]
http://uploaded.net/file/3qztajj3/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part1.rar
http://uploaded.net/file/2ptnkqpb/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part2.rar
http://uploaded.net/file/nhuubxk4/4wyjx...Excel.With.Excel.Pivot.Tables.Filtering.part3.rar
.................................................................................................n.rar
[/code]

Plese help me user regex

Author:  Freddy [ March 18th, 2015, 3:21 pm ]
Post subject:  Re: Replacements help topic.

There are some mistake in the code tags. It's really confusing what's before and what's after. Could you fix the "code" tags.

Author:  minano [ March 19th, 2015, 11:03 pm ]
Post subject:  Re: Replacements help topic.

Code:
Before [b]Home Page[/b] -  http://www.Domain.com/




Code:
After  [b]Home Page[/b] - [code]http://www.Domain.com/[/code]


Or

Code:
Home Page - http://www.Domain.com/

Author:  Freddy [ March 20th, 2015, 11:13 am ]
Post subject:  Re: Replacements help topic.

Both "After" examples are completely different.

Are you sure you need both?

Author:  VIPGFX [ April 22nd, 2015, 9:20 am ]
Post subject:  Re: Replacements help topic.

Freddy wrote:
Search string:
Code:
\[url=(http://[^\]]+?)\](.*?)\[/url\]

Replace with:
Code:
$1

Enable regex search.

Search string:
Code:
(?i)http://(www\.)?imdb[^>\]'"\s]+

Replace with:
Code:
[code]$0[/code]

Enable regex search.


this not works on:
before:
Code:
[b]MAYA - Shave and Haircut [/b]
In this training session you can learn how to create Hair and fur on the 3D character.    Instructed by [url=https://www.site.com/u/view-popup/?userId=4165798] eduCBA Academy for Business and Management Studies [/url] [url=https://www.site.com/courses/Design/] Design [/url] / [url=https://www.site.com/courses/Design/3D-and-Animation/] 3D & Animation [/url]
* Lectures 7
* Video 1 Hours
* Skill level all level
* Languages English
* Includes Lifetime access
30 day money back guarantee!
Available on iOS and Android
Certificate of Completion
[b]Course Description[/b]

Need badly and asap:
After:
Code:
[b]MAYA - Shave and Haircut [/b]
In this training session you can learn how to create Hair and fur on the 3D character.   
Instructed by eduCBA Academy for Business and Management Studies | Design / 3D & Animation


whenever free make this very complex regex:
Code:
[center][img]http://image.com/2014/0612/da/630336754929343335e8d40575b685da.jpeg[/img][/center]
[center][b]MAYA - Shave and Haircut [/b]
Lectures 7 | 1 Hours | .MP4, AVC, 1280x720 | English, AAC, 64 kbps, 2 Ch | MB
Instructed by eduCBA Academy for Business and Management Studies | Design / 3D & Animation[/center][cut]

Author:  Crackpot [ April 26th, 2015, 3:41 pm ]
Post subject:  Replacement help.

this is the file links
Code:
http://ul.to/y2tplrwd
https://openload.io/f/ftukK1Sq4uk/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4
http://go4up.com/dl/3d83808054ae
http://rapidgator.net/file/f6ff1abdfc5d80805f643236ec8e8492/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4.html
http://hugefiles.net/id7ggr3snqf4


links order can be random. is it possible to use replacement feature and make the output like this:

[ul]http://ul.to/y2tplrwd[/ul] | [rg]http://rapidgator.net/file/f6ff1abdfc5d80805f643236ec8e8492/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4.html[/rg] | [hu]http://hugefiles.net/id7ggr3snqf4[/hu] | [op]https://openload.io/f/ftukK1Sq4uk/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4[/op] | [go]http://go4up.com/dl/3d83808054ae[/gp]

Author:  Freddy [ April 26th, 2015, 4:40 pm ]
Post subject:  Re: Replacement help

Hi,

what are those tags "[ul]" , "[rg]", etc?

Never seen any website to support something like this.

Author:  Crackpot [ April 26th, 2015, 6:18 pm ]
Post subject:  Re: Replacement help.

i used it for easy to make wordpress post.
[ul] auto change to <a href="
and [/ul]=Uploaded</a>

output comes like this:
<a href="http://ul.to/y2tplrwd">Uploaded</a> | <a href="http://rapidgator.net/file/f6ff1abdfc5d80805f643236ec8e8492/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4.html">Rapigator</a>

Author:  Freddy [ April 26th, 2015, 6:42 pm ]
Post subject:  Re: Replacement help.

Do you use themaPoster? If yes, that's actually bad idea how you do it now.

There is already setting to convert message to HTML.

You should have replacements to convert link to BBCode in themaPoster like this:
Code:
[url=http://ul.to/y2tplrwd]Uploaded[/url]


For Wordpress posting in themaPoster you should have "Convert to HTML" enabled and it will convert to <a> tag automatically.

Author:  Crackpot [ April 26th, 2015, 8:26 pm ]
Post subject:  Re: Replacement help.

i using a uploading tool which gives this output:
Code:
http://ul.to/y2tplrwd
https://openload.io/f/ftukK1Sq4uk/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4
http://go4up.com/dl/3d83808054ae
http://rapidgator.net/file/f6ff1abdfc5d80805f643236ec8e8492/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4.html
http://hugefiles.net/id7ggr3snqf4


i have themaposter but i posting this manually. i thought it would be possible using regex to such text convert

<a href="http://ul.to/y2tplrwd">Uploaded</a> | <a href="http://rapidgator.net/file/f6ff1abdfc5d80805f643236ec8e8492/Game.of.Thrones.S05E02.HDTV.x264-ASAP.mp4.html">Rapigator</a> | ....

Author:  Freddy [ April 28th, 2015, 8:57 am ]
Post subject:  Re: Replacement help.

You can.

Search for:
Code:
(http://ul\.to.+)\s


Replace with:
Code:
[url=$1]Uploaded[/url] |


Enable regex search.

Add similar replacements for other hosts. The "." (dot) in domain must be escaped with "\" as in my example.

In themaPoster don't forget to enabled "Convert message to HTML" for that blog.

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