...
Return Type
String
Examples
Example 1
Code Block |
---|
|
Oh, you are a Nigerian prince? Here is my credit card number 1111-2222-3333-4444.
matchReplace(sourceText, "\d{4}-?\d{4}-?\d{4}-?\d{4}", "XXXX-XXXX-XXXX-XXXX"); |
Returns: "Oh, you are a Nigerian prince? Here is my credit card number XXXX-XXXX-XXXX-XXXX."
Example 2
Code Block |
---|
|
string HTML = "<p>Geckos are a group of usually small, usually <strong style='color: blue;'>nocturnal</strong> lizards. They are found on every continent except Australia.</p>
return matchReplace(HTML, "<[^>]*>", ""); |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "string_routinefunction" and space = currentSpace ( ) |
---|
labels | array_routinesfunctions |
---|
|