Regex to strip phpdoc multiline comment
- by Reveller
I have this:
/**
* @file
* API for loading and interacting with modules.
* More explaination here.
*
* @author Reveller <me@localhost>
* @version 19:05 28-12-2008
*/
I'm looking for a regex to strip all but the @token data, so the result would be:
@file API for loading and interacting with modules. More explaination here.
@author…