Then i trying to extract hex code between tags with preg_match_all function i have some problems using regex
#<\b(html|body)\b[^>]*>(.*?)</\b(html|body)\b>#is
work, extract all lines but without new line simbols? so after converting hex2bin i got unreadable parts
#<\b(html|body)\b[^>]*>(.*?)</\b(html|body)\b>#im
work but extract only single lines, do not extract lines contains new line
So how to extract hex code between tags including all characters.