Hi
How can I parse HTML page which I fetched by PHP so some part of text would
be replaced by other text.
Also, I managed to delete all HTML code from page (with this code
$data[0] = preg_replace("/([<])+([^>])+([.])*([>])+/i","", $data[0]);
but also would like to delete all chars except numbers
> 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 ucfirst(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
>
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 pe
From: "Zoran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 12:35 PM
Subject: [PHP] Web Fetch & Process
Hi
How can I parse HTML page which I fetched by PHP so some part of text would
be replaced by other text.
For example, if I have bo
Hi
How can I parse HTML page which I fetched by PHP so some part of text would be
replaced by other text.
For example, if I have bold text on HTML page (Some text) how can I manage that
all bold text on that page is replaced by some other text.
Also, I managed to delete all HTML code from page
5 matches
Mail list logo