<?php $url = "https://rumble.com/v30sqt-oreo-ice-cream-cake.html"; $parsed_arr = explode("-",ltrim(parse_url($url, PHP_URL_PATH),"/")); echo current($parsed_arr)."\n"; echo $parsed_arr[0]."\n"; print_r($parsed_arr);
You have javascript disabled. You will not be able to edit any code.