It is currently August 20th, 2019, 9:51 am



Post new topic Reply to topic  [ 728 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: July 7th, 2019, 6:23 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9748
Location: Earth
Search for:
Code:
(.+?)\n(https?://.+)


Replace with:
Code:
[url=$2]$1[/url]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 29th, 2019, 9:40 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 262
Code:
input:
https://rapidgator.net/file/0e21fdg11d741958d6df504a3/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar

output
Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


Code:
input:
https://rapidgator.net/file/0e21fdg11d741958d6df504a3/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar

output
http://localhost/Pennyworth.S01E03.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


cannot use replace . only. coz it's inside post. [EP]whatever.text[/EP] want to remove dot inside [EP] tag
Code:
Input
[EP]The.Loudest.Voice.S01E05.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb | 2.40 GB[/EP]

output
[EP]The Loudest Voice S01E05 720p AMZN WEB-DL DDP5 1 H 264-NTb | 2 40 GB[/EP]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 30th, 2019, 6:47 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9748
Location: Earth
Search for:
Code:
https?://rapidgator\.net/file/.+?/(.+)


Replace with:
Code:
$1


Enable regex search.

Search for:
Code:
https?://rapidgator\.net/file/.+?/(.+)


Replace with:
Code:
http://localhost/$1


Enable regex search.

Can't think anything for the last.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 30th, 2019, 9:46 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 262
thanks :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 3rd, 2019, 2:23 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 262
not sure if possible

Input
Code:
[b]The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG | 1.25 GB[/b] https://rapidgator.net/file/92eb0badsc2884688a7e3a855df/The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar


Output
Code:
[url=https://rapidgator.net/file/92eb0badsc2884688a7e3a855df/The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG.rar]The.Outpost.S02E04.720p.AMZN.WEB-DL.DDP5.1.H.264-NTG | 1.25 GB[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 3rd, 2019, 5:28 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9748
Location: Earth
Search for:
Code:
\[b\](.+?)\[/b\]\s*(https?://rapidgator.+)


Replace with:
Code:
[url=$2]$1[/url]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 13th, 2019, 10:55 am 

Joined: September 21st, 2011, 1:04 pm
Posts: 137
how to choose a line and replace with that line+new text:
input:
Code:
sometext...thistext...sometext

output:
Code:
sometext...thistext...sometext_newtext


I know Find input by regex : .*thistext.* but don't know how to do: this line+_newtext


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 13th, 2019, 12:52 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 9748
Location: Earth
Search for:
Code:
.*thistext.*


Replace with:
Code:
$0_newtext


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  [ 728 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49

Who is online

Users browsing this forum: No registered users and 4 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:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC