Small fix

Detect with:
"media.com[...]" --> starting with main domain (for text)
"[...].media.com[...]" --> subdomains
"[...]://media.com[...]" --> link to main domain witout subdomain