Post Reply 
Highlight Mycode
08-16-2012, 06:30 PM
Post: #1
Highlight Mycode
Highlight your links with different colors.

Regular Expression:
Code:
\[hl=(.*?)\](.*?)\[/hl\]

Replacement:
Code:
<span style="background-color: $1"><a href="$2">
$2</a></span>

Usage:
Code:
[hl=COLOR]LINK[/hl]

Remember:
COLOR = Should be in hex or in words like; #FF0000 for Red or use red / Red words for Red colors.
LINK: You can add link either in www. format or http:// format.

Screens:
-
Thanks :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: