XF 2.1 Display link to YT channel under avatar


Active member
I have a link under users avatars that links to their YT channel. This is done by asking for the users ID in the profile field, and then putting youtube.com/[ID] as a link under their profile. The problem is that many users put the full YT url into the profile field and don't follow instructions. Is there a way to check that the URL is from youtube? Or a better way to display users YT channel under their avatar?