RewriteCond %{HTTP_HOST} !^www\.DOMAINNAME\.TLD [NC]
www\.DOMAINNAME.co\.uk
www\.DOMAINNAME\.co.uk
This question has been answered by bunk58. See the first response.
RewriteCond %{HTTP_HOST} !^www\.domainname\.co\.uk [NC]