in reply to Re: Re: Re: Re: Re: Re: Re: User Code
in thread User Code

You could combine both of those regexps into one by doing something like this: s#\[(?:http(s)?://)?([^\|]+)\|([^\]]+)\]#<a href="http$1://$2">$3</a>#g;

- Brad

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Re: Re: User Code
by $code or die (Deacon) on Dec 11, 2000 at 23:20 UTC
    Nice one! Thanks!

    I didn't start this node and I think I managed to divert the topic somewhat, but have definitely been helped.