<?php$url = "https://t.me/liderkoder";if (! filter_var($url, FILTER_VALIDATE_URL) === false) {echo("Url is valid");} else {echo("Url is not valid");}