Possible Duplicate:
PHP DOMDocument - get html source of BODY
I have the following code as a variable and trying to grab everything in between the body tags (while keeping the p tags etc). Whats the best way of doing this?
- pregmatch
strpos / substr
<head> <title></title> </head> <body> <p>Services Calls2</p> </body>