It is currently March 28th, 2024, 10:03 pm



Post new topic Reply to topic  [ 283 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 19  Next
Author Message
 Post subject: Re: Replacements help topic.
PostPosted: August 8th, 2014, 4:06 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?i)javascript:(ShowBild|insertimage)\('(.+?)'\)


Replace with:
Code:
[img]$2[/img]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: August 10th, 2014, 10:32 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: August 11th, 2014, 8:09 am 

Joined: August 27th, 2013, 6:54 pm
Posts: 186
not only [center] tag [/center],
I also want to remove any extra tag like Code/color also,
give me regex function.
thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: August 13th, 2014, 9:21 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Why does it matter? The end result when posting somewhere else will exactly the same in both examples above.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: August 19th, 2014, 12:13 pm 

Joined: September 19th, 2011, 12:30 am
Posts: 275
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]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: August 19th, 2014, 2:12 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 24th, 2014, 5:42 am 

Joined: October 24th, 2014, 5:11 am
Posts: 2
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]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 24th, 2014, 12:32 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 24th, 2014, 1:57 pm 

Joined: October 24th, 2014, 5:11 am
Posts: 2
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 24th, 2014, 2:02 pm 
Site Admin
User avatar

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

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 25th, 2014, 3:30 pm 

Joined: July 1st, 2012, 8:57 am
Posts: 63
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 25th, 2014, 3:47 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?s)========================================.+


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: October 25th, 2014, 4:20 pm 

Joined: July 1st, 2012, 8:57 am
Posts: 63
thanks !


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: November 4th, 2014, 11:40 am 

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


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

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Just add 3 simple replacements to replace
Code:
[list] to nothing, [*] to nothing and [/list] to nothing.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


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

Who is online

Users browsing this forum: No registered users and 14 guests


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