Re: finding tags and extracting information

From: Date: Fri, 10 Aug 2001 19:53:54 +0000
Subject: Re: finding tags and extracting information
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62206@lists.php.net to get a copy of this message
Send me some of the html and tell me what tag and variable you want to extract. On Fri, 10 Aug 2001, David Ovens wrote: > If I could match the expression, how do I extract the variable after the > expression I have found ? > > ----- Original Message ----- > From: "Daniel Adams" <danno@wpi.edu> > To: "David Ovens" <DOvens@doweb.co.uk> > Cc: "Php-General" <php-general@lists.php.net> > Sent: Friday, August 10, 2001 8:22 PM > Subject: Re: [PHP] finding tags and extracting information > > > > 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 > > > > > > > > > > > > > > > > -- > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > --

« previous php.general (#62206) next »