Freddy wrote:
I just forgot to copy "+" at the end for first url replacement (fixed above as well).
Search for:
Code:
https?://(www\.)?(keeplinks|filecrypt).+
Replace with:
Code:
[url=$0]$0[/url]
Enable regex.
For hide, your first example was different (
viewtopic.php?p=30426#p30426). The links were in different order.
I wrote the replacement for first example where first link is keeplinks and second link is filecrypt.
If you changed the order of your links now just make changes to replacement and replace the order.
Search for:
Code:
(?s)(.+\n)(.+?filecrypt.+?keeplinks.+?)(\n|$)
Replace with:
Code:
$1[hide]$2[/hide]$3
Enable regex.
Thx Freddy for your help but i forgot to tell you that in first part the links have TAG CODE, i use it because require in all other forum so correct version is this:
AfterCode:
[code]https://www.keeplinks.co/p95/5b81b9854368e[/code]
[code]https://filecrypt.cc/Container/31306764FA.html[/code]
BeforeCode:
[hide]
[url=https://www.keeplinks.co/p95/5b81b9854368e]https://www.keeplinks.co/p95/5b81b9854368e[/url]
[url=https://filecrypt.cc/Container/31306764FA.html]https://filecrypt.cc/Container/31306764FA.html[/url]
[/hide]
if you prefer this BEFORE too is same for me:
BeforeCode:
[hide][url=https://www.keeplinks.co/p95/5b81b9854368e]https://www.keeplinks.co/p95/5b81b9854368e[/url][/hide]
[hide][url=https://filecrypt.cc/Container/31306764FA.html]https://filecrypt.cc/Container/31306764FA.html[/url][/hide]
the only thing i was missing was the TAG CODE that i have around links