search required default (empty)The text to find. A plain string finds one term; a JSON array of strings finds several terms at once. Not trimmed, so leading/trailing spaces are significant.
replace optional default (empty - deletes the match)What to put in place of each match. A plain string replaces every search term with the same value; a JSON array maps each search term to the replacement at the same position. An empty value deletes the match. Not trimmed.
text required default (empty)The string to search in. The result is text with every match replaced.
{str_replace:uno:one:text with uno inside}
{str_replace:Cat:dog:cat Cat CAT}
{str_replace:["cat","dog"]:animal:a cat and a dog}
{str_replace:["red","blue"]:["green","yellow"]:red sky, blue sea}
{str_replace:["-"]:[""]:2024-03-15}