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



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 63, 64, 65, 66, 67, 68, 69 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: September 28th, 2021, 9:01 pm 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
INPUT:
Code:
[url=URL][img]URL[/img][/url]

[size="18"][color=#ba0000][b]Movies Name[/b][/color][/size]

[b]IMDB information:[/b]



Output:

INPUT:
Code:
[url=URL][img]URL[/img][/url]

[b]IMDB information:[/b]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: September 29th, 2021, 8:36 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
\[size="18"\]\[color=#ba0000\].+?\[/size\]\s*(\[b\]IMDB)


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 3rd, 2021, 6:34 pm 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
INPUT:
Code:
Download from RapidGator:
[URL="#"]Download from RapidGator[/URL]
Download from DDownload:
[URL="#"]Download from DDownload[/URL]



OUTPUT:
Download from RapidGator:
Code:
[URL="#"][/URL]


Download from DDownload:
Code:
[URL="#"][/URL]




And if it possible to put on all Messages on [center] i need it for specific website on creator i don't have [center] on old file


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 3rd, 2021, 6:48 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
@Bak3

Your BBCode URL tags in after example are not valid (they won't work at all - will be without any text).

For center websites are in themaPoster (not themaCreator), just add the replacement for needed site in themaPoster and it will be applied only when posting to that site:

Search for:
Code:
(?s).+


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: October 3rd, 2021, 7:28 pm 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
I send on screenshots perhaps it will be better understood

1. http://prntscr.com/1unpc9d

2. http://prntscr.com/1unqhg2 for website likes this

3. http://prntscr.com/1unqd0x forum likes this

Defult setting from themacreator : http://prntscr.com/1unqinc


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 3rd, 2021, 9:39 pm 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
Bak3 , just post what your post looks like when you post it right now, and how would you like to be edited too.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 3rd, 2021, 10:53 pm 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
I want this

For my website 1. http://prntscr.com/1unqhg2

For forum 2. http://prntscr.com/1unqd0x


the main configuration from ThemaPoster is this
https://prnt.sc/1unqinc


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 4th, 2021, 7:10 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Add this replacement for needed forum:

Search for:
Code:
(?i)\[URL=\"(.+?)\"\].+?\[/URL\]


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 4th, 2021, 7:28 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
[align=center][img]https://images2.imgbox.com/0b/03/VetvJDaN_o.jpg[/img][/align]


output
Code:
[align=center][img]https://domain.com/<postSubject>.jpg[/img][/align]




please note there is [align=center] before the image otherwise it will conflict with other image link.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 4th, 2021, 10:03 am 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
and for wordpres we have a solution how can we do it like in the photo I sent
https://prnt.sc/1unqhg2


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

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
@Crackpot

Search for:
Code:
(\[align=center\]\[img\]).+?(\[/img\]\[/align\])


Replace with:
Code:
$1https://domain.com/<postSubject>.jpg$2


Enable regex search.

@Bak3

Search for:
Code:
(?i)\[URL=\"(.+?)\"\].+?\[/URL\]


Replace with:
Code:
[url]$1[/url]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 8th, 2021, 11:36 am 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
input:
Marie - Marie Sets Out To Discover The Unknown ... (16.06.2021)_1080p i want to remove only the numbers they are random on end text same are

- 16062021
16062021
160621
- 160621
(16.06.2021)_1080p
(16.06.2021)_720p
etc

output:
i wanna only text and just remove number on and remove the numbers at the end of the text


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 8th, 2021, 6:48 pm 
Site Admin
User avatar

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


Replace with:
Code:
(leave empty)


Enable regex search.

Search for:
Code:
_?(720|1080)p


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: October 9th, 2021, 11:05 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Input
Knight.Rider.S01E01.Episode.Name.1080p.Bluray.x265-D3G

Output
Knight.Rider.S01E01.1080p.Bluray.x265-D3G

i can get this result using this regex.
Code:
search
(?i)(S[0-9]+E[0-9]+).+?(1080p|720p)

replace with
$1.$2


but if release is
Knight.Rider.S01E01E02.Episode.Name.1080p.Bluray.x265-D3G

output giving
Knight.Rider.S01E01.1080p.Bluray.x265-D3G

it's keeping another episode number from the name. can you please help me with the regex to keep the `E02`


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 9th, 2021, 3:27 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
(?i)(S[0-9]+E[0-9]+)(E[0-9]+)?.+?(1080p|720p)


Replace with:
Code:
$1$2.$3


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 ... 63, 64, 65, 66, 67, 68, 69 ... 74  Next

Who is online

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