note 20919 deleted from function.preg-replace by sander

From: Date: Sat, 15 Feb 2003 15:20:01 +0000
Subject: note 20919 deleted from function.preg-replace by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43972@lists.php.net to get a copy of this message
from 'jbe@cpu.ath.cx' note: $text = "Reading the documentation is allways recommanded, and the PHP manual is worth a read"; If i just want to replace 'read' at $text but not "'read'ing", how can i done that? From other article, i saw using preg_replace("/\b(read)\b/i", ...), which '\b' mean as 'word boundary', is it ture? Thx a lot

« previous php.notes (#43972) next »