note 18203 added to function.preg-replace

From: Date: Mon, 14 Jan 2002 16:28:12 +0000
Subject: note 18203 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-24801@lists.php.net to get a copy of this message
But how can one replace only full words, without alpha-numeric characters around it? e.g. replace "thing" by "object", but not if it is in the word "something"... but it can be in "some-thing(yes)", then you can replace it... see? I just don't get it! :-) Do you? -- http://www.php.net/manual/en/function.preg-replace.php http://master.php.net/manage/user-notes.php?action=edit+18203 http://master.php.net/manage/user-notes.php?action=delete+18203 http://master.php.net/manage/user-notes.php?action=reject+18203

« previous php.notes (#24801) next »