[Solved] PHP code for removing Unwanted parameters of Youtube URL
The simplest solution would be: $url=”https://www.youtube.com/watch?…&…”; $cleanedUrl = substr($url, 0, strpos($url, “&”)); 1 solved PHP code for removing Unwanted parameters of Youtube URL