I'm kind of new to python and I want to check if a given string is a social network valid url or not.
A vaild url is something like this:
[Social Network Name]:www.[domain]/[Account Name]
And these conditions:
- Social network name is a captalize word
- Domain only contains lowercase letters and a dot (.)
- Account name has letters, numbers or underline (_)
For example:
Twitter:www.twitter.com/blahblah
True