themaPoster
http://poster.themasoftware.com/forum/

Forum replacements problems.
http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634
Page 63 of 74

Author:  Crackpot [ April 30th, 2021, 9:44 am ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ April 30th, 2021, 4:54 pm ]
Post subject:  Re: Forum replacements problems.

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.

Author:  ad-team [ May 1st, 2021, 4:25 pm ]
Post subject:  Re: Forum replacements problems.

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)

Author:  Freddy [ May 1st, 2021, 6:06 pm ]
Post subject:  Re: Forum replacements problems.

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


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


Enable regex search.

Author:  bleach [ May 6th, 2021, 8:58 pm ]
Post subject:  Re: Forum replacements problems.

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!

Author:  Freddy [ May 7th, 2021, 5:33 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  bleach [ May 7th, 2021, 10:20 am ]
Post subject:  Re: Forum replacements problems.

Great, thank you!

Author:  Bak3 [ May 28th, 2021, 11:53 am ]
Post subject:  Re: Forum replacements problems.

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

Author:  Freddy [ May 29th, 2021, 6:48 am ]
Post subject:  Re: Forum replacements problems.

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.

Author:  Crackpot [ July 6th, 2021, 7:54 am ]
Post subject:  Re: Forum replacements problems.

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

Author:  stefan-te [ July 6th, 2021, 11:41 pm ]
Post subject:  Re: Forum replacements problems.

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

Author:  Crackpot [ July 7th, 2021, 2:48 am ]
Post subject:  Re: Forum replacements problems.

thank you so much :)

Author:  Crackpot [ July 13th, 2021, 7:57 pm ]
Post subject:  Re: Forum replacements problems.

input
Code:
[movie]Jimmy Kimmel 2021 07 12 Megan Fox 720p WEB h264-KOGi[/movie]



output
Code:
Jimmy Kimmel

Author:  Freddy [ July 14th, 2021, 7:09 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
\[movie\](.+?)[0-9]{4}.+\[/movie\]


Replace with:
Code:
$1


Enable regex search.

Author:  Bak3 [ July 23rd, 2021, 9:20 pm ]
Post subject:  Re: Forum replacements problems.

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]

Page 63 of 74 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/