Re: finding tags and extracting information
| From: | Daniel Adams | Date: | Fri, 10 Aug 2001 19:22:08 +0000 |
| Subject: | Re: finding tags and extracting information | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62200@lists.php.net to get a copy of this message | ||
Sounds like a job for regular expressions. :-) check out preg_match in
the docs.
- Dan
On Fri, 10 Aug 2001, David Ovens wrote:
> I have a string full of html information, and I am trying to find a way of
> scanning the string to find a tag and extract a variable from the tag, but
> cannot find any functions to split the string in lengths of the tag to find
> the variable.
>
> so is there a function that will chop x amount of characters from the left
> and right of a string so that I can check for information.
>
> Hope this is clear
>
>
> Dave
>
>
>
>
--