note 21312 rejected from function.ereg-replace by alindeman

From: Date: Wed, 08 May 2002 20:42:46 +0000
Subject: note 21312 rejected from function.ereg-replace by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30354@lists.php.net to get a copy of this message
I'm trying to replicate grep's -v command. Which means it only returns NON-MATCHING lines. Is there a way to do this in ereg? I'm trying to remove all lines that have a 1 at the begining... Any help is greatly appeciated.

« previous php.notes (#30354) next »