Railo 4.2 Reference
Choose a function:

Function REREPLACENOCASE

Uses a regular expression to search a string for a string
pattern and replace it with another. The search is
case-insensitive.

Beispiel

rereplacenocase(string string,string reg_expression,string substring,[string scope]):string

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
string string  Yes A string or a variable that contains one.  
reg_expression string  Yes Regular expression to replace.  
substring string  Yes replacement  
scope string  No - one (default): Replace the first occurrence of the regular expression.
  • all: Replace all occurrences of the regular expression.