Copy only the domain portion (after stripping www and file extensions) if it looks valid.
The string structure suggests: