Hi, I have this problem, I have bunch of html files and I need to extract contents of <embed> tag in each file... I can do the file opening etc alone but I dont know about the tag thing, can you suggest me some php function or method? Thank you
You could try something like this: $begin = strPos($htmlContent, '<embed>'); $end = strPos($htmlContent, '</embed>'); $extracted = substr($htmlContent,$begin,($end - $begin));
Is there any software for windows which would do the same and save that extraction to file ? ( plus crawling one site)