Escape()

Regex::Escape(const String&) method

Escapes special characters to use string as part of the pattern.

static String System::Text::RegularExpressions::Regex::Escape(const String &str)

Arguments

ParameterTypeDescription
strconst String&String to escape special characters in.

Return Value

String with escaped special characters.

See Also