It is currently March 28th, 2024, 7:55 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 60, 61, 62, 63, 64, 65, 66 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: April 30th, 2021, 9:44 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thanks but there is a one space before the title start. possible to remove the space?

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



this i used searched for:
Code:
^\s


replace with
Code:
none


not sure if it's proper way to do this


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

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
It will work, you could have just altered the first replacement (won't need to have two added).

Search for:
Code:
^(\[.+?\])\s*(.+)\[.+?\]


Replace with:
Code:
$2$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 1st, 2021, 4:25 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
before
Quote:
[center][img ]https://i114.fastpic.ru/big/2021/0501/2b/99a493139d3d4cdd620d3a92280bbd2b.jpeg[/img][/ center]
English | 2016 | ISBN: 1840917350 | 112 pages | EPUB | 3.7 MB

some text (this only example)

After
Quote:
[center][img ]https://i114.fastpic.ru/big/2021/0501/2b/99a493139d3d4cdd620d3a92280bbd2b.jpeg[/img][/ center]
[center]English | 2016 | ISBN: 1840917350 | 112 pages | EPUB | 3.7 MB[/ center]
some text (this only example)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 1st, 2021, 6:06 pm 
Site Admin
User avatar

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


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 6th, 2021, 8:58 pm 

Joined: May 6th, 2021, 8:39 pm
Posts: 7
Hi,
I need help. I have such a text post:
Quote:
Download From A
abc.com

and i need
Quote:
Download From A
Code:
abc.com


i add two replacements, but it not word
Search string: [links]
Replace with: [ code]

Search string: [/links]
Replace with: [/ code]

What I have to do? Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 7th, 2021, 5:33 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
No need to use any "[links]" tag or replacements.

Just add your file hosts in "CONFIG" -> "Hosts".
And for needed website choose option to "Use [code ] for links" (don't forget to press "Update" button).

As shown here: http://poster.themasoftware.com/faq.php?expand=faq104

The code tag will be added automatically.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 7th, 2021, 10:20 am 

Joined: May 6th, 2021, 8:39 pm
Posts: 7
Great, thank you!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 28th, 2021, 11:53 am 

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

Before:
TSPussyHunters.12.05.31.Tiffany.Starr.And.Ashlynn.Leigh.XXX.SD.MP4-KLEENEX

After:
TSPussyHunters - Tiffany Starr And Ashlynn Leigh (12.05.31)


I don't remove dots on data


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: May 29th, 2021, 6:48 am 
Site Admin
User avatar

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


Replace with:
Code:
$1-$3($2)


Enable regex search.

Make sure in "CONFIG" -> "General" posting option to replace dots with spaces is enabled.

You can add the dots back to date with another replacement:

Search for:
Code:
([0-9]{2}).([0-9]{2}).([0-9]{2})


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


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 6th, 2021, 7:54 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
this is a sample post

Code:
General
Unique ID                                : 201045967407320045170606435512863502810 (0x97400B7D7087083A6F1EFAFFEDF131DA)
Complete name                            : N:\work\New folder (3)\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv
Format                                  : Matroska
Format version                          : Version 4
File size                                : 1.07 GiB
Duration                                : 22 min 32 s


1. Input:
Code:
Complete name                            : N:\work\New folder (3)\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv


Output
Code:
Complete name                            : Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv




2.input
Code:
Complete name : Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO\Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO.mkv


output
Code:
Complete name : Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO.mkv

not sure if it's possible


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 6th, 2021, 11:41 pm 
User avatar

Joined: March 15th, 2011, 5:44 pm
Posts: 119
Crackpot wrote:
this is a sample post

Code:
General
Unique ID                                : 201045967407320045170606435512863502810 (0x97400B7D7087083A6F1EFAFFEDF131DA)
Complete name                            : N:\work\New folder (3)\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv
Format                                  : Matroska
Format version                          : Version 4
File size                                : 1.07 GiB
Duration                                : 22 min 32 s


1. Input:
Code:
Complete name                            : N:\work\New folder (3)\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY\Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv


Output
Code:
Complete name                            : Rick.and.Morty.S05E03.1080p.WEB.H264-EMPATHY.mkv




2.input
Code:
Complete name : Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO\Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO.mkv


output
Code:
Complete name : Peter.Rabbit.2.2021.1080p.WEB-DL.DDP5.1.H.264-EVO.mkv

not sure if it's possible



1.
Code:
https://regex101.com/r/C2HuMN/2


2.
Code:
https://regex101.com/r/zhST40/1


:D


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 7th, 2021, 2:48 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thank you so much :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 13th, 2021, 7:57 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
[movie]Jimmy Kimmel 2021 07 12 Megan Fox 720p WEB h264-KOGi[/movie]



output
Code:
Jimmy Kimmel


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 14th, 2021, 7:09 am 
Site Admin
User avatar

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


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 23rd, 2021, 9:20 pm 

Joined: October 29th, 2020, 6:50 pm
Posts: 14
input
Code:
[url=https://pixhost.to/show/11/225190840_emvtxuj190f1.jpg][img]https://t59.pixhost.to/thumbs/11/225190840_emvtxuj190f1.jpg[/img][/url]


output
Code:
[img]https://t59.pixhost.to/thumbs/11/225190840_emvtxuj190f1.jpg[/img]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 60, 61, 62, 63, 64, 65, 66 ... 74  Next

Who is online

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