php3-list | 199908
Date: 08/11/99
- Next message: Mikit Woo: "[PHP3] submit/get image from mysql"
- Previous message: Teodor Cimpoesu: "Re: [PHP3] regex bug?"
- In reply to: Steve Edberg: "Re: [PHP3] ereg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 11 Aug 1999, Steve Edberg wrote:
> $CleanedUpString = ereg_replace('[[:space:]]+\{[^}]*\}[[:space:]]+', ' ',
> $StringWithBracketedWords);
Or, if this is all you want to do, try
sed s/ *{[^}]*} *//g <inputfile >outputfile
-adam
-- / adam maccabee trachtenberg | visit college life online \ \ adam <email protected> | http://www.student.com /-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mikit Woo: "[PHP3] submit/get image from mysql"
- Previous message: Teodor Cimpoesu: "Re: [PHP3] regex bug?"
- In reply to: Steve Edberg: "Re: [PHP3] ereg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

