Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] custom mycode question (wiki type links)
#3
Sorry, it took a couple days to get back to you.

For Wikipedia:
 Expression:  
\[\[(.*?)\]\]

Replace:
<a target="_blank" href="http://en.wikipedia.org/wiki/$1" title="Wikipedia:  $1">$1</a>

And for ED:
 Expression:  
\[\[ed:(.*?)\]\]

Replace:
<a target="_blank" href="http://www.encyclopediadramatica.com/index.php/$1" title="Encyclopedia Dramatica:  $1">$1</a>

Now, I didn't really think this would work and I expected the problem I got, but now I'm wondering just how to write it correctly so that I *can* do what I'm trying to do.


Messages In This Thread
RE: custom mycode question (wiki type links) - by Galen - 2006-12-18, 08:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)