4 October 2007

From Organic Design wiki
Warning.svg This is a blog item that needs to be converted to the new Bliki format


Regular expressions extension added

The RegexParserFunctions extension has been added to our list of extensions available to the OD/Wikia. This allows regular expression string replacements, for example:

{{#regex:{{PAGENAME}}|%^.*/(.*)$%|$1}}

Forward slashes can also be used as delimiters, but percent is more practical if the expression contains slashes.