Hi Mat, I would not please for help if I would not read those texts. Of course I've read them both.
But on those phpbuilder's page there are also similar questions but answered scripts don't work, for example: $text="<a target=\"top\" href=\"http://aaa\">ttrtert</a>"; preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,$ar); print_r($ar); returns this: Warning: Unknown modifier '(' in test.php on line 5 [line 5 is that line with preg_match_all] Array ( ) I really don't know :( Roman -----Original Message----- From: MET [mailto:[EMAIL PROTECTED]] Look up Regular Expressions. Basically they allow you to search out Check out these links: http://www.php.net/manual/en/ref.regex.php http://www.phpbuilder.com/columns/dario19990616.php3 ~ Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php