note 53987 added to function.preg-match
| From: | j dot rapp at lycos dot de | Date: | Mon, 20 Jun 2005 10:08:02 +0000 |
| Subject: | note 53987 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90677@lists.php.net to get a copy of this message | ||
what do you have to do if you want some string not to be inside your text?
e.g. You've got the strings "hello, my world" and "hello world" and you
want to find out which of these hasn't "my" inside..
Beacuse I want to create a dynamic search it isn't possible to say
if ( ! preg_match ($reg, $string))
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53987
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53987&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53987&report=yes
Search -- http://master.php.net/manage/user-notes.php