or$text =~ s~[link=(\[\w/\:\.]+)\](.+)\[/link\]~<a href='$1'>$2</a>~g;
$text =~ s~\[img\](.+)\[/link\]~<img src='$1'>~g;
- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein
update: thanx to arturo for noticing my error with the brackets
In reply to Re: User Code
by elusion
in thread User Code
by Monolith-0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |