<?php $url = 'https://globoesporte.globo.com/'; echo preg_replace( array('/^http(s)?\:\/\//', '/[\.\-]/','/\//'), array('','_',''), $url);
You have javascript disabled. You will not be able to edit any code.