Hi folks I've been at this for 2 hours and figured there has to be someone out there with a better solution?
In this regex case, I need to match all domains and subdomains from bbc. Eg:
bbc.com
subdomain.bbc.co.uk
But not sites such as
another-bbc.com
anotherbbc.com
bbcmore.com
I need to keep the "bbc" part flexible so I can use other domains in future such as facebook.
The closest Ive got to is (.*\.)?bbc\..*
but it's matching anotherbbc.
Please can you help me? Would appreciate this.