basic-regex-23-preg-grep.php / php
<html> <head> <title>A preg_grep() Test</title> </head> <body> <?php myMatchesSensitive = preg_grep("/Hel/", <p>Matching case sensitively:</p>"; if (myMatchesSensitive) { print_r (array_values(myMatchesInsensitive = preg_grep("/Hel/i", <br /><p>Matching case insensitively:</p>"; if (myMatchesInsensitive) { print_r (array_values(</body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.