Sorry folks forgotten this one, I need to read the first \"batch\" of comment in a php file example would be:
There's a token_get_all($code) function which can be used for this and it's more reliable than you first might think.
token_get_all($code)
Here's some example code to get all comments out of a file (it's untested, but should be enough to get you started):