sandr - regular expression search and replace

SYNOPSIS

<sandr $expr $replace $data>


DESCRIPTION
The sandr function replaces in $data every occurrence of a $expr REX expression with the corresponding string from $replace. It returns the $data list with any replacements.

If $replace has fewer values than $expr, it is "padded" with empty replacement strings for the extra search values.


DIAGNOSTICS
sandr returns the $data list with any replacements made.



Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2023 Thunderstone Software LLC. All rights reserved.