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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.