PHP Classes

Extract Text Between Long Tags: Extract data between two HTML tags

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,022 All time: 3,586 This week: 105Up
Version License PHP version Categories
textbetweentags 1.0GNU General Publi...4.0HTML, Text processing


This is a very simple class that can be used to extract data between two HTML tags.

It searches for a given start tag. If found, it starts for another given end tag.

If both tags are found, the class returns the data that is contained between the start and end tags.

Picture of Keith Hall
Name: Keith Hall is available for providing paid consulting. Contact Keith Hall .
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 909122 in United States United States
Week rank: 609 Up67 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file ExtractTextBetweenTags.class.php Class The class itself
Accessible without login Plain text file ExtractTextExample.php Example Usage example of the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,586
This week:105Up
User Comments (1)