It is currently March 28th, 2024, 11:29 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 67, 68, 69, 70, 71, 72, 73, 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: August 10th, 2022, 6:22 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
It's possible. Will write them tomorrow.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 11th, 2022, 9:14 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
<a href.+?google\.com.+?>N/A</a>


Replace with:
Code:
N/A


Enable regex search.

Search for:
Code:
(<a href.+?google\.com.+?>.+?)(.\((writer|story)\))(</a>)


Replace with:
Code:
$1$4$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 22nd, 2022, 4:42 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
Drama, Action & Adventure, Sci-Fi & Fantasy


output
Code:
<a href="https://google.com/search.php=Drama">Drama</a>, <a href="https://google.com/search.php=Action & Adventure">Action & Adventure</a>, <a href="https://google.com/search.php=Sci-Fi & Fantasy">Sci-Fi & Fantasy</a>


i will use this replacement manually. basically there will not be any other content so the replace won't mixed up with other post part.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 22nd, 2022, 5:10 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
I have mentioned it here already: http://creator.themasoftware.com/forum/ ... 389#p24389

That's the only way I know.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 6th, 2022, 6:06 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
not sure if it's possible, can you please look at this regex
input:

Code:
random textadasd
[mediainfo]random text[/mediainfo]
textrandom
[download]https://google.com/tetst[/download]



output:
Code:
random textadasd
[download]https://google.com/tetst[/download]
[mediainfo]random text[/mediainfo]
textrandom


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 6th, 2022, 7:14 am 
Site Admin
User avatar

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


Replace with:
Code:
$3\n$1$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 6th, 2022, 5:03 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
thank you so much, i could have use \n\r but there could be more line or less line for the following replacement. any regex can we use? i think you gave me solution before but I cannot remember it now. i also search entire TP post but I could not find it.

input
Code:
random text etc
[screenshot][/screenshot]




[download][/download]
random text etc


output
Code:
random text etc
[screenshot][/screenshot][download][/download]
random text etc


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 6th, 2022, 6:22 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Search for:
Code:
\[/screenshot\]\s*\[download\]


Replace with:
Code:
[/screenshot][download]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 24th, 2022, 7:54 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Code:
input
[subtitle]English, Arabic, Bulgarian, Czech, Danish, German, Greek, Spanish, Estonian, Finnish, French, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Lithuanian, Latvian, Malay, Dutch, Norwegian, Polish, Portuguese, Russian, Slovak, Slovenian, Swedish, Tamil, Telugu, Thai, Turkish, Ukrainian, Vietnamese, Chinese[/subtitle]

output
[subtitle]English, Arabic, Bulgarian, Czech, Danish, German and more..[/subtitle]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 25th, 2022, 8:20 am 
Site Admin
User avatar

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


Replace with:
Code:
$1 and more..$2


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 27th, 2022, 2:02 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
possible to make it using by one regex replacement
Code:
input
[multi]multi content[/multi]
[rapidgator]rapidgator content[/rapidgator]
[mega]mega content[/mega]

output
rapidgator content


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: November 27th, 2022, 3:22 pm 
Site Admin
User avatar

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


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 10th, 2022, 9:40 pm 

Joined: August 22nd, 2015, 11:54 pm
Posts: 62
Hi,

Eliminate betwen [EXVAGOS][/EXVAGOS]

input:
Code:
[B][SIZE=4][COLOR=Blue]UPTOBOX[/COLOR][/SIZE][/B]

[EXVAGOS][URL]https://uptobox.com/x8olirtdqncw/CDRAWGS2022.v24.2.0.444.ByMi.part1.rar[/URL]
[URL]https://uptobox.com/icvssdpxtn6c/CDRAWGS2022.v24.2.0.444.ByMi.part2.rar[/URL]

[B][COLOR="#000080"][SIZE=6][FONT=Arial Black]Resource Content[/FONT][/SIZE][/COLOR][/B]

[URL]https://uptobox.com/1k70d5dhj49q/CDRAWGS2022C.ByMi.part1.rar[/URL]
[URL]https://uptobox.com/6dcf4cleb6bq/CDRAWGS2022C.ByMi.part2.rar[/URL]
[URL]https://uptobox.com/yu9bgg2vmq09/CDRAWGS2022C.ByMi.part3.rar[/URL]
[URL]https://uptobox.com/fsm7lksfahml/CDRAWGS2022C.ByMi.part4.rar[/URL]
[URL]https://uptobox.com/difjfo76h6sz/CDRAWGS2022C.ByMi.part5.rar[/URL]
[URL]https://uptobox.com/l96uwsbuu3kz/CDRAWGS2022C.ByMi.part6.rar[/URL]
[URL]https://uptobox.com/5cfpi294cd7a/CDRAWGS2022C.ByMi.sfv[/EXVAGOS]


output:
Code:
[B][SIZE=4][COLOR=Blue]UPTOBOX[/COLOR][/SIZE][/B]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 11th, 2022, 12:01 pm 
Site Admin
User avatar

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


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 14th, 2022, 2:36 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
how to add text end of the post?

Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 67, 68, 69, 70, 71, 72, 73, 74  Next

Who is online

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