RegEx

From: Date: Wed, 10 Nov 2004 08:27:00 +0000
Subject: RegEx
Groups: php.db 
Request: Send a blank email to php-db+get-37217@lists.php.net to get a copy of this message
i'd luv to know wat happens if a value is to be taken from within a certain tag in a page when there are more than one of the tags in the page. for example, if i'd luv to tkae all data from within EVERY bold tags in a page, will this work: $file = http://example.com/; $open = fopen($file,"r"); $read = fread($open, filesize($file)); $search = eregi("<b>(.*)</b>", $read, $value); and by the way, i'd also luv to know more about Regular Expressions. I'd be very happy if someone can refer me to a nice tutor page. thanx. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.db (#37217) next »