I know how regex works. The way DOM parser works is simple but uses lot of memory and is slower. I find it trivial to waste resources for a simple task such as his. He does not need to extract dynamic data. Using a DOM parser is overkill and waste of resources in this case. It ain't rocket science either.