It is currently April 16th, 2024, 8:46 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 69, 70, 71, 72, 73, 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: April 15th, 2023, 8:07 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
\[url=.+?imdb.com/title.+?postimg.+?\[/url\]


Replace with:
Code:
[img]https://i.imgur.com/faj0SCP.png?1[/img]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Replace
PostPosted: June 2nd, 2023, 9:04 pm 

Joined: August 22nd, 2015, 11:54 pm
Posts: 62
I have a title for which I want to replace the braces with parentheses only those that contain a number that represents the year. I am going to put two different examples to be clearer.

Example 1. Initial text would be: Dana Vespoli's Love Hurts #1 [Combat Zone][XXX WEB-DL x720p][2012] and the final text would be: Dana Vespoli's Love Hurts #1 [Combat Zone][XXX WEB-DL x720p] (2012).

Example 12 The initial text would be: Daddy's Little Doll #2 [New Sensations][XXX DVDRip x264][2015] and the final text would be: Daddy's Little Doll #2 [New Sensations][XXX DVDRip x264([2015).


Top
 Profile  
Reply with quote  
 Post subject: Re: Replace
PostPosted: June 3rd, 2023, 5:46 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Add this replacement for needed sites or in global replacements under "CONFIG" -> "Replacements".

If it's for subject then under "Subject" tab.

Search for:
Code:
\[([0-9]{4})\]


Replace with:
Code:
 ($1)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 18th, 2023, 6:07 am 

Joined: November 9th, 2021, 12:35 am
Posts: 1
wordpress bdog. Line
Code:
[b]Genre[/b]: Progressive House, Electronic
, genres can be different. Is it possible to do it like a hashtag? For example
Code:
[b]Genre[/b]: #Progressive House #Electronic


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 18th, 2023, 3:14 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
You would need to add multiple replacements to handle each case based on how many genres there are.

There probably won't be more than 4. So you would need to add four replacements (in this order, order is important):

Search for:
Code:
\[b\]Genre\[/b\]: (.+?), (.+?), (.+?), (.+)


Replace with:
Code:
[b]Genre[/b]: #$1, #$2, #$3, #$4


Enable regex search.

Search for:
Code:
\[b\]Genre\[/b\]: (.+?), (.+?), (.+)


Replace with:
Code:
[b]Genre[/b]: #$1, #$2, #$3


Enable regex search.

Search for:
Code:
\[b\]Genre\[/b\]: (.+?), (.+)


Replace with:
Code:
[b]Genre[/b]: #$1, #$2


Enable regex search.

Search for:
Code:
\[b\]Genre\[/b\]: (.+)


Replace with:
Code:
[b]Genre[/b]: #$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 28th, 2023, 11:18 pm 

Joined: June 28th, 2023, 7:00 pm
Posts: 2
hello. Is it possible to do this replacement?
I have this - [url=imagetwist.com/8070t9p/randomname.jpg][img]s10.imagetwist.com/th/51243/778070p.jpg[/img][/url]

I need only link between img tag, this - [img]s10.imagetwist.com/th/51243/778070p.jpg[/img]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 29th, 2023, 12:09 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Search for:
Code:
\[url=.*?imagetwist.+?\](\[img\].+?\[/img\])\[/url\]


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 29th, 2023, 2:02 pm 

Joined: June 28th, 2023, 7:00 pm
Posts: 2
Freddy wrote:
Search for:
Code:
\[url=.*?imagetwist.+?\](\[img\].+?\[/img\])\[/url\]


Replace with:
Code:
$1


Enable regex search.


It works in notepad++ but not work in themaposter. What I do wrong?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 29th, 2023, 7:11 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Maybe didn't enable the "Regex" option.

If you sure you did - PM me, will review your settings.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2023, 7:02 am 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
its possible do this in one Wordpresse blog

i want that my link

Code:
[url]htto...links[/url]


will be opened in a NEW WINDOW like the comand target="_blank" do

its possible? open link in a new window when you click them?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2023, 8:32 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
With BBCode it's not possible.

You would need to use HTML then.

Your whole message must be in HTML then and option for that site to "Convert to HTML" must be disabled.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2023, 8:50 am 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
so how i can convert this:

Code:
[url]http link[/url]


in this

Code:
<a href="http link target="_blank">http link</a>


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2023, 1:31 pm 
Site Admin
User avatar

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


Replace with:
Code:
<a href="$1" target="_blank">$1</a>


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 2nd, 2023, 8:21 pm 

Joined: March 14th, 2021, 10:29 am
Posts: 33
I created a post with ThemaCreator and equipped it with the standard TAG.
Only one forum does not allow TAG.
Only this TAG should be deleted.

TAG= AUTO

This text from the TAG (AUTO) should be deleted.
I tried a replacement but it didn't work.
How else can I delete this text from the TAG.
Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 2nd, 2023, 8:26 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
It's hard to understand a bit.

I would need some specific "Before" and "After" example.

_________________
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 ... 69, 70, 71, 72, 73, 74  Next

Who is online

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