@
exist_https = re.compile(r'(^https?:\/\/([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$)')
link='https://yandex.ru/news/story/Prezident_Armenii_eshhe_ne_podpisal_ukaz_ob_uvolnenii_glavy_Glavnogo_shtaba_VS--e6cff063184480c1419f797936449c7e?fan=1&from=main_portal&lang=ru&lr=213&mlid=1614282130.glob_225.e6cff063&msid=1614282730.68111.82904.4084&persistent_id=133360194&stid=erPhG1Qp6gP4TbBhk_BV&t=1614282130&utm_medium=topnews_news&utm_source=morda_desktop/'
if re.search(exist_https, link):
print('\nThis url is valid ;) ')