Extended regexp for HTML content check