Zoran wrote:

Hi

How can I parse HTML page which I fetched by PHP so some part of text would be replaced by other text.


As jim has pointed out strip_tags is a good first step. However I have always believed that the best language for parsing html is perl and not PHP that's because there is a perl module (name HTMLParse) available from CPAN that behaves somewhat like the sax parse api in PHP.

--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to