Post Reply 
Link Colour Mycode
08-16-2012, 06:33 PM
Post: #1
Link Colour Mycode
This will change the color of individual link.

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

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

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

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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: