in reply to What regex will swap somewebpage/ with somewebpage/index.html ??
$address .= '/index.html' [download]
$address =~ s!http://www.(?:[^/]*/*)*!/index.html! [download]