Méthode | Description | |
---|---|---|
Match ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive |
Perform a regex match.
|
|
Replace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive |
Perform a regex find and replace.
|
public static Match ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive | ||
input | Primitive | The input string to perform the match on (unaltered). |
pattern | Primitive | The regex pattern string. |
caseSensitive | Primitive | If the regex match is case sensitive ("True" or "False"). |
Résultat | Primitive |
public static Replace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive | ||
input | Primitive | The input string to perform the replacement on (unaltered). |
pattern | Primitive | The regex pattern string. |
replacement | Primitive | The regex replacement string. |
caseSensitive | Primitive | If the regex replace is case sensitive ("True" or "False"). |
Résultat | Primitive |