joomla:url_redirecter:regular_expression

Regular Expressions

Regular Expression (short: RegEx) is a type of Language describing how to generate a match to a string containing any characters. RegEx has different flavors, here as we use PHP as the Server side scripting language, PCRE is the used RegEx dialect.

For novices to Regular Expression, we have collected some links to resources on the Web describing Regular Expression in more detail:



When using Regular Expressions in our Extensions, make sure to use the starting and ending delimiter of /. Regular Expression options, such as /i for case-insensitive matching are supported. For using single quotes (') or double quotes () in the Regular Expression, ensure that these are escaped using the backslash (\).

Regular Expression Examples

/Demo-[0-9]+/
/Demo-[0-9]+/i
/\"Demo-[0-9]+\"/i