RegEx.Replace Function

Finds SearchPattern in Target, Replaces the contents of SearchPattern with ReplacementPattern. Returns the resulting string.

Syntax
result = RegEx.Replace( [TargetString], [SearchStartPosition] )

Parameters
TargetString | String (Optional)
SearchStartPosition | Integer (Optional)

Return Value
Result | String

# Notes

Replace can take the optional parameters shown at left. Returns a String.