{{tag>Index Function Function_List Text Version:v1.0}} ====== REPLACE PATTERN2 ====== ===== Description ===== replaces all occurrences of the specified pattern in the text with a new pattern. ===== Parameters ===== attribute of Plain Text type or expression producing Plain Text, the pattern to be replaced and the pattern to replace with. ===== Example ===== REPLACE_PATTERN ('John Smith', 'Smith', 'Black') returns 'John Black'