<?php var_dump( preg_replace( '#^https?://[^/]+#i', '', 'https://test.org/gallery' ) );
You have javascript disabled. You will not be able to edit any code.