"Wiggins d Anconia" <[EMAIL PROTECTED]> wrote in message ...
> if ($siteurl2 =~ /^(?:www.)?$FORM{'siteurl'}\/?$/) { ^^^ Keep in mind that this solution requires that the URL does not begin with "http://". The . above needs to be backslashed; including "www.", it also OPTIONALLY matches www[almost any character here] at the start of the URL which might not be what you want. -ZO -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>