MoneyBoard - Money Making Forums

Full Version: Link Colour Mycode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Reference URL's