Hello there,
I am trying to find a regular expression string to read a html file and substract everything within the body, keeping in mind that the body tag can have any number of attributes.
Anyone know? Thanks for any help u can provide.
preg_match('#<body[>]>(.)</body>#i', $string, $matches);
Thnx 🙂