Hello,

Here's one I can't solve.

I need to remove a string if it's doesn't appear in comments (only comments targeted are "/**/"). Everywhere else, the string should be removed.

PHP Code:
$foo = var;
/* And this is some comment $foo = var; which isn't touched*/ 
Output should become:
PHP Code:
/* And this is some comment $foo = var; which isn't touched*/ 
$foo = var; has been removed. "$foo = " will never change. However, "var" could be anything.

Thanks in advance for the help.



-jj.