Currently I'm working on a project where I need to get content from an HTML section and place it somewhere else.
We're using preg_match to find the content and put in an array. But we have a little struggle finding the right preg_match variables.
What we are using is this
preg_match('/<div class=\"sku\">(.*?)<\/div>/', $tmp, $match_sku);
But this is giving me an empty value in our array. What am I doing wrong?