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