Template:Regex/doc

Deprecated template. Please use RegexFunctions instead.

Do a match or replace.

Usage
Note: regex is a regular expression as defined by php.

Match
return  if matched, return empty string if failed.

Replace
Replaces the given pattern within the string by replacement. If no replacement occurs, return unnamed parameter 4 (empty string by default).

Example
de:Vorlage:Regex