<?php $Url = "https://play.google.com/store/apps/details?id=com.zing.zalo&hl=en"; preg_match("/[^?]+(?:\?id=([^&]+).*)?/", "$Url", $matches); echo $matches[1]; //com.zing.zalo
You have javascript disabled. You will not be able to edit any code.