SAXONICA |
fn:replace(string? $input, string $pattern, string $replacement) → string?
Function signature
$input |
xs:string ? |
$pattern |
xs:string |
$replacement |
xs:string |
Result |
xs:string ? |
Replaces sequences of characters within a string that match a given regular expression
fn:replace(string? $input, string? $pattern, string? $replacement, string? $flags) → string?
Function signature
$input |
xs:string ? |
$pattern |
xs:string |
$replacement |
xs:string |
$flags |
xs:string |
Result |
xs:string ? |
Replaces sequences of characters within a string that match a given regular expression, specifying flags to control the way the regular expression is matched