Replaces all substrings found between the specified start and end delimiters in the input string,
using the provided replacer function to generate the replacement for each match.
The function searches for all non-overlapping occurrences of substrings between start and end within input,
and replaces each occurrence by invoking replacer with the matched substring.
Replaces all substrings found between the specified
startandenddelimiters in the input string, using the providedreplacerfunction to generate the replacement for each match.The function searches for all non-overlapping occurrences of substrings between
startandendwithininput, and replaces each occurrence by invokingreplacerwith the matched substring.