It is currently April 16th, 2024, 1:13 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 59, 60, 61, 62, 63, 64, 65 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: February 21st, 2021, 12:37 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
thank you :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 12th, 2021, 10:52 am 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
Hello,

Before:
Skills.Like.This.2007.1080p.WEBRip.x264-RARBG

After:
Skills Like This (2007) [1080p] [WEBRip] [x264] [RARBG]


I use this (.+)([0-9]{4})(.+? )(.+?)- --> $1($2) [$3] [$4]
Best have some problem with [1080p] he maked [1080] [p]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 12th, 2021, 1:03 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
(.+?)([0-9]{4})[ \.](.+?)[ \.](.+?)[ \.](.+?)[ \.-](.+)


Replace with:
Code:
$1($2) [$3] [$4] [$5] [$6]


Enable regex search.

And add separate simple replacement (not regex) to replace dots with spaces.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 22nd, 2021, 3:07 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Hi Freddy its possible

Search for :
Code:
[b]Download


Replace with:

Code:
<param=uam_update_groups=1>
<param=uam_user_groups[1][id]=1>
[b]Download


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: March 22nd, 2021, 3:39 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Yes, your replacement is fine.

Just add in "replace with" - "\n" for new lines.

Or if you use themaCreator to generate posts just add those lines in your "Main" template.

Search for:
Code:
[b]Download


Replace with:
Code:
<param=uam_update_groups=1>\n
<param=uam_user_groups[1][id]=1>\n
[b]Download


Simple replacement (not regex).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 4th, 2021, 4:41 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 243
before
Quote:
Space Launch Live Splashdown 2020 720p WEBRip 800MB x264-GalaxyRG


Quote:
Original Gangster 2020 1080p WEBRip 1400MB DD5 1 x264-GalaxyRG

Quote:
The Dry 2021 720p WEBRip 999MB HQ x265 10bit-GalaxyRG


after
Quote:
Space Launch Live Splashdown 2020 720p WEBRip x264-GalaxyRG


Quote:
Original Gangster 2020 1080p WEBRip DD5 1 x264-GalaxyRG

Quote:
The Dry 2021 720p WEBRip HQ x265 10bit-GalaxyRG


in regex bro


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 4th, 2021, 5:39 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
[0-9]+MB\s*


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 22nd, 2021, 7:51 pm 

Joined: August 22nd, 2015, 11:54 pm
Posts: 62
Hi,

I need allways center mi text.

Before:
Code:
[SIZE=6][COLOR=Green][B][COLOR=Green][FONT=Century Gothic]Internet Download Manager v6.38 Build 18[/FONT][/COLOR][/B][/COLOR][/SIZE]

[IMG]https://i.postimg.cc/pVw1cZYx/Fotos-00011-Internet-Download-Manager.jpg[/IMG]

[B][COLOR=Green][FONT=Century Gothic]Internet Download Manager v6.38 Build 18[/FONT][/COLOR][/B] [COLOR=Blue]|  Exe + Portable | Multileng (Español) | Medicina  Incl. | Comprimido: Si | Rar (Con Registro de Reparación) | 7.86 MB
[/COLOR][COLOR=DarkOrchid][B]Liberado: Marzo 3 de 2021[/B][/COLOR]


The initials BBCode can change.

After:
Code:
[CENTER][SIZE=6][COLOR=Green][B][COLOR=Green][FONT=Century Gothic]Internet Download Manager v6.38 Build 18[/FONT][/COLOR][/B][/COLOR][/SIZE]

[IMG]https://i.postimg.cc/pVw1cZYx/Fotos-00011-Internet-Download-Manager.jpg[/IMG]

[B][COLOR=Green][FONT=Century Gothic]Internet Download Manager v6.38 Build 18[/FONT][/COLOR][/B] [COLOR=Blue]|  Exe + Portable | Multileng (Español) | Medicina  Incl. | Comprimido: Si | Rar (Con Registro de Reparación) | 7.86 MB
[/COLOR][COLOR=DarkOrchid][B]Liberado: Marzo 3 de 2021[/B][/COLOR][/CENTER]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 22nd, 2021, 7:56 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
(?si)\[SIZE=6\]\[COLOR=Green\].+?\[COLOR=DarkOrchid\].+?\[/COLOR\]


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 23rd, 2021, 11:01 pm 

Joined: August 22nd, 2015, 11:54 pm
Posts: 62
Freddy wrote:
Search for:
Code:
(?si)\[SIZE=6\]\[COLOR=Green\].+?\[COLOR=DarkOrchid\].+?\[/COLOR\]


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


Enable regex search.


Thanks,

But it doesn't work every time because the BBCodes change. These are not the same every time.

The can start with:
Code:
[SIZE=6][COLOR=Green][B]


or star with:
Code:
[SIZE=5][COLOR=Green][B]


or star with:
Code:
[COLOR=Green][SIZE=5][B]


or star with:
Code:
[B][COLOR=Green][SIZE=5]

or star with:
Code:
[B][COLOR=Red][SIZE=5]


or star with:
Code:
[B][COLOR=Red][SIZE=5]


or star with:
Code:
[COLOR="#2F4F4F"][SIZE=6][FONT=Century Gothic][B]


There are many forms to star the text.

And then the end the taxt change too because the order of BBCode have changed.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 24th, 2021, 3:18 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
If it's your template it should not change for every post.

If you use themaCreator just add the "center" tags in the "Main" template.

Or if you're not using themaCreator I would just recommend to use it. You can have needed template and the post will always look the same.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 25th, 2021, 2:42 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
not sure if it's possible. inside my post there is text

input
[movie]Jungleland (2019)[/movie]

output

[movie]Jungleland (2019)[/movie]<tags>Jungleland (2019)</tags>

i want to update my post with tags using TM.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 26th, 2021, 2:37 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
At the moment there is no easy way, but improved to support this using "Replace text" feature for next themaManager update (4.38).

Search for:
Code:
\[movie\](.+?)\[/movie\]


Replace with:
Code:
$0\n<tags>$1</tags>


Enable regex search.

Only from next themaManager update (4.38). Don't try it now (it will mess-up the message).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 29th, 2021, 6:13 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
thank you :)
another replace help please

input
[SubsPlease] Kobayashi-san Chi no Maid Dragon S2 Shorts - 04 (1080p) [E42D4E7C]

Output
Kobayashi-san Chi no Maid Dragon S2 Shorts - 04 (1080p) [SubsPlease]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 30th, 2021, 5:13 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
^(\[.+?\])(.+)\[.+?\]


Replace with:
Code:
$2$1


Enable regex search.

_________________
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 ... 59, 60, 61, 62, 63, 64, 65 ... 74  Next

Who is online

Users browsing this forum: No registered users and 7 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:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC