Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
my $url = "[URL unfurl="true"]http://www.test.com";[/URL]
# Don't do a global replace,
# ie like iluveperl's code but without the g
$url =~ s/[URL unfurl="true"]www\./\./i;[/URL]
# Include a protocol in the regexp. This
# way is probably better, because if $url
# was "[URL unfurl="true"]http://www.www.com/"[/URL] then it would
# become [URL unfurl="true"]www.com,[/URL] but if the url was just
# "[URL unfurl="true"]http://www.com"[/URL] then it becomes just ".com"
$url =~ s~^(http|https|ftp)://www\.~\.~i;