Documentation

Regex::Replace

Function

string Regex::Replace(const string&in source, const string&in pattern, const string&in replace, int flags = Regex::Flags::ECMAScript)

Perform a regex search and replace on the given string.

string source

string pattern

string replace

int flags

Returns string