@#$@# Reg Expressions

From: Date: Tue, 30 Oct 2001 01:55:31 +0000
Subject: @#$@# Reg Expressions
Groups: php.general 
Request: Send a blank email to php-general+get-72807@lists.php.net to get a copy of this message
love em.. right now I hate em.. can someone inform me why the below doesnt work? it is intended to strip out all the links in a page and return an array .. insanity is just starting to set in.. cheers $html =GETSITE($url); // and put in a new line break behind every anchor tag $the_array=spliti("<A (.*)</A>", $html,-1); echo $the_array ; foreach($the_array AS $k) echo $k."<HR>"; }

« previous php.general (#72807) next »