The following script to copy the text from remote url using php code.
<?php
$regex = '/]*>(.*<\/body>/smi';
/*END config, BEGIN html*/
$data = file_get_contents($siteName) or die('Cannot read ' . $siteName);
preg_match($regex, $data, $cleanData);
if(!empty($cleanData))
$data...
