Views:

Description

Returns a new string in which occurrences of text between a specified start string and end string are replaced with another specified string. 

MatchAndReplace('111{xxx}222{yyy}', '{', '}', 'ooo') Returns '111ooo222ooo' 

MatchAndReplace('111{xxx}222{yyy}', '{', '}', 'ooo', true) Returns '111{ooo}222{ooo}' 

MatchAndReplace('111{xxx}222', '{', '}', 'WW SuperCool($0) WW') Returns '111 SuperCool(xxx) 222' 

Signature

MatchAndReplace('inputstring','startmatch','endmatch','replacementstring','retainmatchers','replacementcount')

Example

See online examples

Parameters

Name Type Description Required
action1 xxxx xxxx xxxx

Notes: