in reply to Re: Re: Re: Re: Re: Re: User Code
in thread User Code
Is there a simpler way of doing that?$text =~ s#\[https://([^\|]+)\|([^\]]+)\]#<a href="https://$1">$2</a> +#g; $text =~ s#\[(http://)?([^\|]+)\|([^\]]+)\]#<a href="http://$2">$3</a +>#g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Re: User Code
by duct_tape (Hermit) on Dec 11, 2000 at 19:40 UTC | |
by $code or die (Deacon) on Dec 11, 2000 at 23:20 UTC |