PHP Classes
Icontem

Class: preg_magic


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shannon Wynter  >  preg_magic  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: preg_magic Support forum
Base name: preg_magic
Description: Extract data from text using regular expressions
Related top rated classes: ,
Version: 1
Required PHP version: 5
License: GNU General Public License (GPL)
All time users: 982 users
All time rank: 2520
Week users: 2 users
Week rank: 2509
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Shannon Wynter
Name: Shannon Wynter is available for providing paid consulting. Contact Shannon Wynter .
Published packages: 7 Browse this author's classes Browse this author's classes
Country: Australia Australia - PHP jobs in Australia
Home page: http://fremnet.net/
Age: 28
All time rank: 145
Week rank: 106

Innovation Award

PHP Programming Innovation award nominee
February 2008
Number 7
Regular expressions are often used to extract information from different types of text documents.

Sometimes it is necessary to extract information that appears with the same format in multiple sections of a document, like for instance, text that is presented in multiple rows of HTML table. Extracting data from this kind document may require the use of multiple types of regular expressions.

This class provides a solution to simplify the extraction of text from document with repetitive sections by iterating through a set of given regular expressions.

Manuel Lemos

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to extract data from text using regular expression patterns.

It takes an array of regular expressions that define the patterns to match and extract data.

An entry of the expressions array may be another array that defines patterns of repetitive sections that must be iterated to extract data from each of the repeated sections, like for instance HTML tables with sections of the rows of cell data.

The extracted data patterns is returned in associative arrays.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (91.7%)
Good (91.7%)
Perfect (100.0%)
-
-
Sufficient (74.2%)
70
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Class on Fremnet A full description of the class and example on Fremnet.

Files

File Role Description
Files folder image doc
  HTML file blank.html Doc. Documentation
  HTML file classtrees_preg_magic.html Doc. Documentation
  HTML file elementindex.html Doc. Documentation
  HTML file elementindex_preg_magic.html Doc. Documentation
  HTML file index.html Doc. Main Documentation Index
  HTML file li_preg_magic.html Doc. Documentation
Files folder image doc/media
  Plain text file banner.css Data CSS for Documentation
  Plain text file stylesheet.css Data CSS for Documentation
Files folder image doc
  HTML file packages.html Doc. Documentation
Files folder image doc/preg_magic
  HTML file preg_magic.html Doc. Documentation
  HTML file _preg_magic.php.html Doc. Documentation
Plain text file document.sh Data Documentation Generator
Files folder image example
  Plain text file fields_example.php Example An example fields layout
  Plain text file full_example.php Example A complete example
  Plain text file history.html Data Example data
Plain text file preg_magic.php Class Main class/function file
Plain text file README Doc. Readme file
Download all files: preg_magic.tar.gz preg_magic.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products