themaLeecher http://leecher.themasoftware.com/forum/ |
|
Replacements help topic. http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=5860 |
Page 4 of 19 |
Author: | Freddy [ August 8th, 2014, 4:06 pm ] |
Post subject: | Re: Replacements help topic. |
Search for: Code: (?i)javascript:(ShowBild|insertimage)\('(.+?)'\) Replace with: Code: [img]$2[/img] Enable regex search. |
Author: | VIPGFX [ August 10th, 2014, 10:32 am ] |
Post subject: | Re: Replacements help topic. |
Code: [center] [img]http://image.com/storage0/0814/li.jpg[/img] [/center] [center] [b]Need speed | 2 GB[/b] [/center] AFTER Code: [center] [img]http://image.com/storage0/0814/li.jpg[/img] [b]Need speed | 2 GB[/b] [/center] I want to remove extra center tag from middle of MSG. |
Author: | VIPGFX [ August 11th, 2014, 8:09 am ] |
Post subject: | Re: Replacements help topic. |
not only [center] tag [/center], I also want to remove any extra tag like Code/color also, give me regex function. thanks. |
Author: | Freddy [ August 13th, 2014, 9:21 pm ] |
Post subject: | Re: Replacements help topic. |
Why does it matter? The end result when posting somewhere else will exactly the same in both examples above. |
Author: | Volger [ August 19th, 2014, 12:13 pm ] |
Post subject: | Re: Replacements help topic. |
I need help for this replacement (Replace the word "NFO :" with an image, and add a spoiler for the NFO). Before : Code: NFO : Format : Matroska Format version : Version 4 / Version 2 File size : 8.74 GiB Duration : 2h 5mn Overall bit rate : 9 974 Kbps Encoded date : UTC 2013-06-11 14:27:03 Writing application : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01 Writing library : libebml v1.3.0 + libmatroska v1.4.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 2h 5mn Bit rate : 8 274 Kbps Width : 1 920 pixels Height : 1 040 pixels Display aspect ratio : 1.85:1 Frame rate mode : Constant Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.173 Stream size : 7.08 GiB (81%) Writing library : x264 core 133 r2334 a3ac64b Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=8274 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00 Language : French Default : Yes Forced : No Audio #1 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Format profile : Dolby Digital Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : A_AC3 Duration : 2h 5mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 172 MiB (2%) Title : AC3 2.0 Language : French Default : Yes Forced : No Audio #2 ID : 3 Format : DTS Format/Info : Digital Theater Systems Mode : 16 Format settings, Endianness : Big Codec ID : A_DTS Duration : 2h 5mn Bit rate mode : Constant Bit rate : 1 509 Kbps Channel(s) : 5 channels Channel positions : Front: L C R, Side: L R Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossy Stream size : 1.32 GiB (15%) Title : DTS 5.0 Language : English Default : No Forced : No Text #1 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Title : Forced Language : French Default : Yes Forced : No Text #2 ID : 5 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : French Default : No Forced : No Menu 00:00:00.000 : en:00:00:00.000 00:05:43.093 : en:00:05:43.093 00:13:44.282 : en:00:13:44.282 00:24:51.990 : en:00:24:51.990 00:32:44.171 : en:00:32:44.171 00:39:51.848 : en:00:39:51.848 00:46:07.348 : en:00:46:07.348 00:55:23.570 : en:00:55:23.570 01:01:08.582 : en:01:01:08.582 01:07:21.955 : en:01:07:21.955 01:16:02.141 : en:01:16:02.141 01:26:40.529 : en:01:26:40.529 01:36:54.684 : en:01:36:54.684 01:44:13.372 : en:01:44:13.372 01:47:54.593 : en:01:47:54.593 01:55:41.560 : en:01:55:41.560 After : Code: [img]http://img3.maimage.com/maimage____l_57604101160.png[/img]
[spoiler] Format : Matroska Format version : Version 4 / Version 2 File size : 8.74 GiB Duration : 2h 5mn Overall bit rate : 9 974 Kbps Encoded date : UTC 2013-06-11 14:27:03 Writing application : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01 Writing library : libebml v1.3.0 + libmatroska v1.4.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 2h 5mn Bit rate : 8 274 Kbps Width : 1 920 pixels Height : 1 040 pixels Display aspect ratio : 1.85:1 Frame rate mode : Constant Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.173 Stream size : 7.08 GiB (81%) Writing library : x264 core 133 r2334 a3ac64b Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=8274 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00 Language : French Default : Yes Forced : No Audio #1 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Format profile : Dolby Digital Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : A_AC3 Duration : 2h 5mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 172 MiB (2%) Title : AC3 2.0 Language : French Default : Yes Forced : No Audio #2 ID : 3 Format : DTS Format/Info : Digital Theater Systems Mode : 16 Format settings, Endianness : Big Codec ID : A_DTS Duration : 2h 5mn Bit rate mode : Constant Bit rate : 1 509 Kbps Channel(s) : 5 channels Channel positions : Front: L C R, Side: L R Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossy Stream size : 1.32 GiB (15%) Title : DTS 5.0 Language : English Default : No Forced : No Text #1 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Title : Forced Language : French Default : Yes Forced : No Text #2 ID : 5 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : French Default : No Forced : No Menu 00:00:00.000 : en:00:00:00.000 00:05:43.093 : en:00:05:43.093 00:13:44.282 : en:00:13:44.282 00:24:51.990 : en:00:24:51.990 00:32:44.171 : en:00:32:44.171 00:39:51.848 : en:00:39:51.848 00:46:07.348 : en:00:46:07.348 00:55:23.570 : en:00:55:23.570 01:01:08.582 : en:01:01:08.582 01:07:21.955 : en:01:07:21.955 01:16:02.141 : en:01:16:02.141 01:26:40.529 : en:01:26:40.529 01:36:54.684 : en:01:36:54.684 01:44:13.372 : en:01:44:13.372 01:47:54.593 : en:01:47:54.593 01:55:41.560 : en:01:55:41.560 [/spoiler] |
Author: | Freddy [ August 19th, 2014, 2:12 pm ] |
Post subject: | Re: Replacements help topic. |
Search for: Code: (?is)NFO ?:(.+)$ Replace with: Code: [img]http://img3.maimage.com/maimage____l_57604101160.png[/img]\n\n[spoiler]$1\n[/spoiler] Enable regex search. |
Author: | Richpro [ October 24th, 2014, 5:42 am ] |
Post subject: | Re: Replacements help topic. |
Before Code: [center][img]http://ipc.jpeg[img][b]Your Home Magazine Christmas Made Easy 2014[/b] English | 164 Pages | True PDF | 178MB Your Home magazine features real life reader homes, budget-conscious room by room makeovers and plenty of ideas to steal, whatever your bank balance. And if this wasn’t enough, celebrity experts – such as interior designer Richard Randall and property expert George Clarke – are on hand every month to offer decorating and DIY advice. Whether you're currently renting, buying your first home or simply want to revamp your current house, Your Home is the ultimate magazine for affordable ideas and inspiration. [/center] [center] [url=https://www.abc.com/view/E31E95AE37E0667/christmasmadeeasy2014.pdf]https://www.abc.com/view/E31E95AE37E0667/christmasmadeeasy2014.pdf[/url] [/center] After Code: [center][img]http://ipc.jpeg[img]
[b]Your Home Magazine Christmas Made Easy 2014[/b] English | 164 Pages | True PDF | 178MB[/center] Your Home magazine features real life reader homes, budget-conscious room by room makeovers and plenty of ideas to steal, whatever your bank balance. And if this wasn’t enough, celebrity experts – such as interior designer Richard Randall and property expert George Clarke – are on hand every month to offer decorating and DIY advice. Whether you're currently renting, buying your first home or simply want to revamp your current house, Your Home is the ultimate magazine for affordable ideas and inspiration. ============ [quote][center] [b]Download Rapidgator.net[/b] [b]Download Uploaded.to[/b] [/center][/quote] |
Author: | Freddy [ October 24th, 2014, 12:32 pm ] |
Post subject: | Re: Replacements help topic. |
Hmm.... your separator seems to be a bit too long, the default is "==========" (two characters less). The replacement is as you wrote, but remove the extra == if needed. Search for: Code: (?is)(.+?\[/center])(.+) Replace with: Code: $1\n============$2 Enable regex search. Search for: Code: (?is)(.+)\[center\].+\[/center\].* Replace with: Code: $1[quote][center]\n[b]Download Rapidgator.net[/b]\n\n[b]Download Uploaded.to[/b]\n\n[/center][/quote] Enable regex search. |
Author: | Richpro [ October 24th, 2014, 1:57 pm ] |
Post subject: | Re: Replacements help topic. |
Freddy wrote: Hmm.... your separator seems to be a bit too long, the default is "==========" (two characters less). The replacement is as you wrote, but remove the extra == if needed. Search for: Code: (?is)(.+?\[/center])(.+) Replace with: Code: $1\n============$2 Enable regex search. Search for: Code: (?is)(.+)\[center\].+\[/center\].* Replace with: Code: $1[quote][center]\n[b]Download Rapidgator.net[/b]\n\n[b]Download Uploaded.to[/b]\n\n[/center][/quote] Enable regex search. 2nd is not working |
Author: | Freddy [ October 24th, 2014, 2:02 pm ] |
Post subject: | Re: Replacements help topic. |
I tested with that message again, works fine. Are you sure the message has [center] tags at the end? Maybe you forgot to enable regex? Or apply to all messages (if applying to all messages)? Maybe you copied "Search for" with some extra spaces which would make it bad? |
Author: | Death_Lover [ October 25th, 2014, 3:30 pm ] |
Post subject: | Re: Replacements help topic. |
hi need replacement for : BEFORE: Code: ======================================== http://www.secureupload.eu/usgfh1i4dhn8/RBG.rar http://rapidgator.net/file/3e7b7188b037c3be01/RBG.rar.html AFTER: Code: It should be Blank i.e. everything should be blank after Code: ======================================== Please provide the Regex for this. |
Author: | Freddy [ October 25th, 2014, 3:47 pm ] |
Post subject: | Re: Replacements help topic. |
Search for: Code: (?s)========================================.+ Replace with: Code: (leave empty) Enable regex search. |
Author: | Death_Lover [ October 25th, 2014, 4:20 pm ] |
Post subject: | Re: Replacements help topic. |
thanks ! |
Author: | VIPGFX [ November 4th, 2014, 11:40 am ] |
Post subject: | Re: Replacements help topic. |
before: Code: Topics include: [list] [*]Maintaining a visual hierarchy [*]Avoiding bad paragraph breaks and line-breaking hyphens [/list] After: Code: Topics include:
*Maintaining a visual hierarchy *Avoiding bad paragraph breaks and line-breaking hyphens |
Author: | Freddy [ November 4th, 2014, 11:55 am ] |
Post subject: | Re: Replacements help topic. |
Just add 3 simple replacements to replace Code: [list] to nothing, [*] to nothing and [/list] to nothing.
|
Page 4 of 19 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |