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: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.