It is currently April 24th, 2019, 1:52 pm



Post new topic Reply to topic  [ 698 posts ]  Go to page Previous  1 ... 43, 44, 45, 46, 47
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: March 16th, 2019, 11:29 am 

Joined: August 17th, 2016, 8:29 pm
Posts: 124
Freddy wrote:
Also not possible at the moment, but it's already in suggestions.

thanks hope get it soon ,this help in seo
thanks again


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 6th, 2019, 6:10 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 231
input
<tags>thanks hope get it soon, this help in seo</tags>

output
<tags>thanks hope get it soon this help in seo</tags>

is it possible to remove comma from tags code? i want to use movie name only in tags but some movie has comma in title which i don't want


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 6th, 2019, 5:58 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9552
Location: Earth
You could add replacement for tags in "Tags" tab (not "Message" tab) to remove first comma:

Search for:
Code:
(.+?),(.+)


Replace with:
Code:
$1 $2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 7th, 2019, 6:04 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 231
thansk

Code:
input
[coverx][wp][img]https://image.tmdb.org/t/p/w300/hPuZR2bFoV0kuBrA98exWyvTf40.jpg[/img][/wp][wbb][img]https://i.postimg.cc/qJwtMSgB/Can-You-Ever-Forgive-Me-2018-1080p-Blu-Ray-X264-AMIABLE.jpg[/img][/wbb][/coverx]

output
[coverx]<a href="https://image.tmdb.org/t/p/w300/hPuZR2bFoV0kuBrA98exWyvTf40.jpg"><img src="https://image.tmdb.org/t/p/w300/hPuZR2bFoV0kuBrA98exWyvTf40.jpg"/></a>[/coverx]


please note: tmdb link is appear on other part of post which i don't want to change. is it possible to make change only if there is [coverx]?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 7th, 2019, 7:44 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9552
Location: Earth
Search for:
Code:
\[coverx\].*?(https?://image\.tmdb.+?)\[/img\].*?\[/coverx\]


Replace with:
Code:
[coverx]<a href="$1"><img src="$1" /></a>[/coverx]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 7th, 2019, 11:08 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 231
thanks a lot :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 17th, 2019, 4:20 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 231
i want to change my post template. basically all text has imdb link. example

Code:
cover
synposis
[b]iMDB iNFO[/b]
[code]Movie Name:.....Ghost Stories (2017)
iMDB Link:.........https://www.imdb.com/title/tt5516328/
Cast:..................Andy Nyman, Martin Freeman, Paul Whitehouse, Alex Lawther
Director:.............Jeremy Dyson, Andy Nyman
Writer:.................Jeremy Dyson, Andy Nyman, Jeremy Dyson (stage play), Andy Nyman (stage play)
Genre:.................Drama, Horror
iMDB Rating:........6.4/10 (21,579 Votes)
[/code]
dl link
adasd
asd
as
da
sd


i just want to keep only imdb link and remove all text. possible?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: April 17th, 2019, 5:16 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9552
Location: Earth
Search for:
Code:
(?s).+?(https?://(www\.)?imdb\.com/.+?/tt[0-9]+).+


Replace with:
Code:
$1


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  [ 698 posts ]  Go to page Previous  1 ... 43, 44, 45, 46, 47

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