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

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

Author:  ad-team [ May 3rd, 2020, 10:37 pm ]
Post subject:  Re: Forum replacements problems.

Hello Bro
Before
Code:
The Regrets - Amy Bonnaffons:

<a href="https://.goodreads.com/book/show/50808943-the-regrets">The Regrets</a>
<p id="freeText8739965375283146646">Reality and dream collide in Amy Bonnaffons's dazzling, darkly playful debut novel about a love affair between the living and the dead.For weeks, Rac


after

Code:
The Regrets - Amy Bonnaffons:

The Regrets Reality and dream collide in Amy Bonnaffons's dazzling, darkly playful debut novel about a love affair between the living and the dead.For weeks, Rac


mean remove :
Code:
<a href="XXXX">YYYYYY</a>


and this
Code:
<p id="freeTextxxxxxxx">

hope there is regex for this
Thanks

Author:  Freddy [ May 4th, 2020, 7:53 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
<a href=\"https?://\.goodreads.+?</a>\s*


Replace with:
Code:
(leave empty)


Enable regex search.

Are you sure there is no closing </p> tag? That looks like invalid HTML.

Author:  ad-team [ May 4th, 2020, 8:10 pm ]
Post subject:  Re: Forum replacements problems.

I know what you are talking ,but TC generate only this for some ebook

Code:
<p id="freeTextxxxxxxx">

possible to get regex for this ?
thanks

Author:  Freddy [ May 5th, 2020, 3:18 am ]
Post subject:  Re: Forum replacements problems.

TC should not generate any HTML if it's not in your template.

PM me the titles which does that I will fix that issue in TC.

Author:  ad-team [ May 5th, 2020, 8:23 pm ]
Post subject:  Re: Forum replacements problems.

hello
i verified slowly my replacement setting i found
Code:
 replace : </p> with nothing
i deleted it

so you are right

Code:
<p id="freeTextxxxxxxx">xxxxxxxxxxx</p>

now hope you find regex :mrgreen: :mrgreen: :mrgreen:

Author:  Freddy [ May 6th, 2020, 7:11 am ]
Post subject:  Re: Forum replacements problems.

If themaCreator gives that PM me the files and I will fix that in themaCreator.

I would like to fix that in themaCreator first.

Author:  ad-team [ May 7th, 2020, 12:49 am ]
Post subject:  Re: Forum replacements problems.

Hello
some time tc process like this
Code:
<color style="xxxxxxx">xxxxxxxxxx</color>


need regex remove html tag and keep only contain

Author:  Freddy [ May 7th, 2020, 4:06 am ]
Post subject:  Re: Forum replacements problems.

If it's from .mobi or .pdf file then it's fixed for next update.

Author:  ad-team [ May 7th, 2020, 4:59 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
If it's from .mobi or .pdf file then it's fixed for next update.

it s .epub bro for my example
Code:
https://dailyuploads.net/erfngrmx54xm

but it will be great also to others

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

All those HTML replacements will do absolutely nothing from next update. You should remove them all when next update is released.

It will be released soon.

Author:  ad-team [ May 8th, 2020, 6:00 pm ]
Post subject:  Re: Forum replacements problems.

Thanks bro

Author:  ad-team [ May 9th, 2020, 4:34 pm ]
Post subject:  Re: Forum replacements problems.

Hi bro
before
Code:
Description
[url=https://site.com/xx/xxxxx/]xxxxxxxx [/url]

after
Code:
Description

mean i delete every sentence like this :
Code:
[url=https://site.com/xx/xxxxx/]xxxxxxxx [/url]
from post
thanks

Author:  Freddy [ May 9th, 2020, 7:23 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
\[url=https?://site\.com.+?\[/url\]\s?


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  stefan-te [ May 12th, 2020, 12:06 am ]
Post subject:  Re: Forum replacements problems.

input
Elcomsoft.Forensic.Disk.Decryptor.v2.11.751-P2P
output
Elcomsoft Forensic Disk Decryptor v2.11.751-P2P

remove . between words but not numbers... is it possible? ty

Author:  Freddy [ May 12th, 2020, 4:59 am ]
Post subject:  Re: Forum replacements problems.

Yes.

Search for:
Code:
([a-zA-Z])\.([a-zA-Z])


Replace with:
Code:
$1 $2


Enable regex search.

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