I'm trying to replace singel line comment with empty string. tried ereg_replace("//.+\n",'',$string); but this replaces all text after //.
anyone now what to do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php