regexp string replace that collapses www., www1., etc