Re: Parsing HTML files

From: Date: Fri, 10 Sep 2004 11:19:50 +0000
Subject: Re: Parsing HTML files
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-196293@lists.php.net to get a copy of this message
* and then Abdul-Wahid Paterson declared.... > No easy way of doing it, regex somthing like: > > $id = preg_replace("/.*<input.*name=\"id\" value=\"[0-9]+\" > \/>/", $1, $string); > > where $string is a line from your input'd HTML page OK, thanks abdul, much appreciated.. -- Nick W

« previous php.general (#196293) next »