Php: reg exp search in tags

May 25, 2012

Name: jooRegexpr

Author: Viet Vu

This class can find tags with parameters in text.

It uses regular expressions to find a tag with a given name. By default
the format of the tag is {tag parameter=value …}. The search regular
expression can be customized to find tags with a different format.

The class returns a list of objects that represent each tag that was
found. the block object may return a list of tag parameters.

The main class can also return the whole text of the found tag so it can
be replaced by some text that expands the tag to something else.


Support forum:

Leave a Reply

Your email address will not be published. Required fields are marked *