regex_replace_number | Precisamento

regex_replace_number

Replaces up to a given amount, occurrences of a regex in the input string, and returns the resulting string.

Syntax

1
regex_replace_number(regex_id, input, replacement, count)
Argument Type Description
regex_id real The id of the regex to use.
input string The string to modify.
replacement string The value to replace matches with.
count real The maximum number of replacements.

Returns: String

References

Exceptions

  • RegexMatchTimeoutException: Returns “”