Skip to content

SubstituteAll - cRegEx

Include: Use System\Regex.pkg

Replaces every match.

Type: Function

Return data type: String

Parameters

Parameter Type Description
sSubject String Input text.
sReplacement String Replacement text.

Syntax

External_Function SubstituteAll String sSubject String sReplacement Returns String

Call

Get SubstituteAll of hoRegex "cat dog" "fox" to sResult

Description

Replaces every match.

See also