It is currently March 29th, 2024, 8:31 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35, 36, 37 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2016, 4:52 am 

Joined: September 16th, 2015, 4:24 pm
Posts: 83
Thanks you.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2016, 5:33 am 

Joined: September 16th, 2015, 4:24 pm
Posts: 83
please help me again

before
Code:
[b]Tracklist[/b]

[quote]
01. Flying Home (3:12)
02. Hamp's Boogie Woogie (3:24)
03. Million Dollar Smile (3:07)
04. Red Cross (3:46)
05. Hamp's Blues (3:32)
06. Evil Gal Blues (3:17)
07. Flying Home (7:24)
08. Stardust (15:15)
09. Ribs And Hot Sauce (2:29)
10. Blow Top Blues (3:20)
11. Hey! Ba-Ba-Re-Bop (3:21)
12. Rockin In Rhythm, Parts 1 & 2 (5:56)
13. Limehouse Blues (2:54)
14. Tempo's Birthday (2:49)
15. Jack The Fox Boogie (2:56)
[/quote]


after

Code:
[center]
[b]Tracklist[/b]

[quote]
01. Flying Home (3:12)
02. Hamp's Boogie Woogie (3:24)
03. Million Dollar Smile (3:07)
04. Red Cross (3:46)
05. Hamp's Blues (3:32)
06. Evil Gal Blues (3:17)
07. Flying Home (7:24)
08. Stardust (15:15)
09. Ribs And Hot Sauce (2:29)
10. Blow Top Blues (3:20)
11. Hey! Ba-Ba-Re-Bop (3:21)
12. Rockin In Rhythm, Parts 1 & 2 (5:56)
13. Limehouse Blues (2:54)
14. Tempo's Birthday (2:49)
15. Jack The Fox Boogie (2:56)
[/quote]
[/center]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 22nd, 2016, 6:16 am 

Joined: January 30th, 2014, 9:30 am
Posts: 4
How to set to ul.to on selected forums it was the first place not all


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 23rd, 2016, 10:58 am 

Joined: January 13th, 2014, 7:59 pm
Posts: 141
Hello

I wanted to ask what is the code replacement that removed me as I got more than 2 empty lines ?

in TP is option Remove extra empty new lines and I use it but need a it in TM when editing post

Regards


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 23rd, 2016, 11:09 am 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Should be a search for
Code:
\n{4,}
replacing with
Code:
\n\n\n
Enable regex search. It will trim anything from 3 empty lines on to only 2 lines. Single empty lines are not touched.

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 24th, 2016, 7:15 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
moneymaker wrote:
please help me again

Hidden text.
before
Code:
[b]Tracklist[/b]

[quote]
01. Flying Home (3:12)
02. Hamp's Boogie Woogie (3:24)
03. Million Dollar Smile (3:07)
04. Red Cross (3:46)
05. Hamp's Blues (3:32)
06. Evil Gal Blues (3:17)
07. Flying Home (7:24)
08. Stardust (15:15)
09. Ribs And Hot Sauce (2:29)
10. Blow Top Blues (3:20)
11. Hey! Ba-Ba-Re-Bop (3:21)
12. Rockin In Rhythm, Parts 1 & 2 (5:56)
13. Limehouse Blues (2:54)
14. Tempo's Birthday (2:49)
15. Jack The Fox Boogie (2:56)
[/quote]


after

Code:
[center]
[b]Tracklist[/b]

[quote]
01. Flying Home (3:12)
02. Hamp's Boogie Woogie (3:24)
03. Million Dollar Smile (3:07)
04. Red Cross (3:46)
05. Hamp's Blues (3:32)
06. Evil Gal Blues (3:17)
07. Flying Home (7:24)
08. Stardust (15:15)
09. Ribs And Hot Sauce (2:29)
10. Blow Top Blues (3:20)
11. Hey! Ba-Ba-Re-Bop (3:21)
12. Rockin In Rhythm, Parts 1 & 2 (5:56)
13. Limehouse Blues (2:54)
14. Tempo's Birthday (2:49)
15. Jack The Fox Boogie (2:56)
[/quote]
[/center]


Search for:
Code:
(?is)\[b\]Tracklist.+?\[/quote\]


Replace with:
Code:
[center]\n$0\n[/center]


Enable regex search.

darko695 wrote:
How to set to ul.to on selected forums it was the first place not all


I didn't really understood. Would need some "before" and "after" examples.

Shaki wrote:
Hello

I wanted to ask what is the code replacement that removed me as I got more than 2 empty lines ?

in TP is option Remove extra empty new lines and I use it but need a it in TM when editing post

Regards


I'm actually using this with that setting enabled (which is simmiliar to what Wurstmu wrote). Might add this setting in themaManager as well.

Search for:
Code:
\n{3,}


Replace with:
Code:
\n\n


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: How to reply or create in serial order.
PostPosted: October 29th, 2016, 9:56 pm 

Joined: May 17th, 2015, 10:35 am
Posts: 216
I have a greedyness problem it appears.

I have some text compose like this:
Code:
[SPOILER][CODE]
random_alpha
random_beta
[/CODE][/SPOILER]

[SPOILER][CODE]
random_gamma
[/CODE][/SPOILER]


I want to replace only the first match of
Code:
[spoiler][code] [/code][/spoiler]
with NFO-Tags, like this:

Code:
[NFO]
random_alpha
random_beta
[/NFO]

[SPOILER][CODE]
random_gamma
[/CODE][/SPOILER]

I have composed some sick regex which does perfectly what I want - but only in Javascript :-)
Code:
\[SPOILER\]\[CODE\]([\s\S]+?)\[\/CODE\]\[\/SPOILER\]
, replaced with
Code:
[NFO]$1[/NFO]

Is there a way to adress this in Java regex? I fumbled around with numerous possible solutions, but wasn't successful yet :-)

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: How to reply or create in serial order.
PostPosted: October 30th, 2016, 8:08 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?is)\[spoiler\]\[code\](.+?)\[/code\]\[/spoiler\](.+)


Replace with:
Code:
[NFO]$1[/NFO]$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 30th, 2016, 8:40 am 

Joined: May 17th, 2015, 10:35 am
Posts: 216
So easy after a Lithuanian breakfast but so hard with lack of sleep :-) Works, thanks a bunch.

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 30th, 2016, 1:34 pm 

Joined: January 30th, 2014, 9:30 am
Posts: 4
ul.to as the first selected

before
Code:
https://www.bigfile.to/file/T5SA8S

http://www.filefactory.com/file/3cchbhs

http://ul.to/file/jg

http://rg.to/file/6797bbc81

http://turbobit.net/724vz



after
Code:
http://ul.to/file/jg

https://www.bigfile.to/file/T5SA

http://www.filefactory.com/file/3cchbhsg

http://rg.to/file/6797bbc8

http://turbobit.net/724vza


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 31st, 2016, 12:41 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
I image this is in the middle of the message, then this should work:

Search for:
Code:
(?s)(\n.+?bigfile.+?\n.+)(\n.+?ul\.to.+?)\n


Replace with:
Code:
\n$2$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 31st, 2016, 9:00 pm 

Joined: August 28th, 2011, 12:50 pm
Posts: 163
is it possible

to set 1st image as short news

and full news set as center on dle sites

like this to look like

image
==========
[center]
image
full post
[center]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 1st, 2016, 1:16 pm 

Joined: January 30th, 2014, 9:30 am
Posts: 4
Freddy wrote:
I image this is in the middle of the message, then this should work:

Search for:
Code:
(?s)(\n.+?bigfile.+?\n.+)(\n.+?ul\.to.+?)\n


Replace with:
Code:
\n$2$1


Enable regex search.



Upfiles.net was changed to the first and came out so
Quote:
(?s)(\n.+?bigfile.+?\n.+)(\n.+?upfiles\.net.+?)\n
\n$2$1


Quote:


Code:
https://upfiles.net/


RELEASE INFO:
Quote:



DOWNLOAD LINK'S:

Code:
https://www.bigfile.to/f


Code:
http://catshare.net/JIH


Code:
http://dailyfiles.net/17ad61c87b


Code:
http://www.filefactory.com/file/4oe


Code:
http://www.fileshark.pl/pobierz/15062


Code:
http://kingfile.pl/download/rd


Code:
http://lunaticfiles.com/fnvscbu


Code:
http://rg.to/file/0b3d0

Code:
https://rapidu.net/7818


Code:
http://sharehost.eu/dar


Code:
http://turbobit.net/i2k


Code:
https://upfiles.net/f/o


Code:
http://uploaded.net/file/m


RELEASE INFO:
Quote:





DOWNLOAD LINK'S:

Code:
https://www.bigfile.to/file/


Code:
http://catshare.net/cRV


Code:
http://dailyfiles.net/fffa20b1461


Code:
http://www.filefactory.com/file/


Code:
http://www.fileshark.pl/pobierz/1506


Code:
http://kingfile.pl/download/mLF


Code:
http://lunaticfiles.com/9w4jjjst


Code:
http://rg.to/file/3a75a87ace


Code:
https://rapidu.net/041809


Code:
http://sharehost.eu/da


Code:
http://turbobit.net/plyb4l8z


Code:
http://uploaded.net/file/


and how to make all the links were in [code] link [/ code]
not separately
I mean only selected fora


Last edited by darko695 on November 2nd, 2016, 8:00 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 1st, 2016, 6:02 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
nik204 wrote:
is it possible

to set 1st image as short news

and full news set as center on dle sites

like this to look like

image
==========
[center]
image
full post
[center]


Could you write in "before" and "after" examples style.

It's just easier to avoid mistakes.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 1st, 2016, 6:21 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
darko695 wrote:

and how to make all the links were in [code] link [/ code]
not separately
I mean only selected fora


It doesn't really matter.

You could do that by writing [links] tag manually in your message text where needed, but I won't bother.

No one is looking at stuff like that.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35, 36, 37 ... 74  Next

Who is online

Users browsing this forum: No registered users and 18 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