This is a simple class that can be used to parse and process text based on rules stored in a MySQL database table.
It retrieves a given set of rules from a MySQL database table. The rules specify a regular expression to match the text to be processed and PHP code to process the matches.
The class applies the regular expression and for each match it executes the processing code.
This package comes with a database dump of predefined rules to process BBCode, format dates, times, converting URLs into HTML links, etc.. |