-
Words Filter is the code uses regular expressions to find one or more words, while replacing them with the given replacement text. Requirements: PHP 4 or higher
-
LogParser can open Apache log files extract the parameters of each log file line using regular expressions to match the different log formats commonly used by Apache. The log parameters are saved in associative arrays. Requirements: PHP 5.2 or higher
-
E-mail addresses, IP addresses, hexadecimal RGB color definitions, hexadecimal, integer and floating point numbers, and user names with only letters can be validated with CheckRegExp. Requirements: PHP 5 or higher
-
Ofile class can open a file and use a given delimiter regular expression to split its contents. It can output the content of the split sections using configurable HTML to prefix and suffix the content.New content can also be written to the file, after a lock is placed on it in order to prevent simultaneous operations.Requirements: PHP 4.3 or higher
-
Template Generation reads template files using the PHP include function to make any PHP in the template file be executed. Then it searches the resulting included file for template placeholders.Regular expressions are used to match input parameters and the found placeholders are replaced by their respective parameter values.
-
udPattern allows you to store patterns and to check strings against them. udPattern should be perfect for matching URLs and filenames.Just register the patterns you want to use and then call the TestPattern function to check if it is a valid string.You can use accept( ) or reject(-) to all patterns as well as wildcards. If you are experienced with ...
-
preg_magic 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.Associative arrays are used ...
-
Apriori 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.Regular expressions are applied and the processing code is executed for each match.Apriori comes with a database dump of predefined rules to process BBCode, format dates, times, converting URLs ...
-
Functions to call preg_match(), preg_replace() and preg_match_all() are provided. The regular expression matching functions store the matched results as objects in class variables.Requirements:PHP 5.0 or higher
-
K-Pregs is a PHP library. K-Pregs comes with many functions related to Regular Expressions.All these are Perl compatible, fast and very efficient functions. Some example validation functions: Visa, MasterCard, Email, Url, etc...

