But to post something actually useful, it might be nice to have a getDomainFromURL() function, and pass it the baseURI. And for the record, `regexResult` is a waste of a good opportunity to have a variable name that tells the reader about what it is =)