Regex.Escape
Escapes regex metacharacters in literal text.
Escapes backslash and the metacharacters ^ $ . | ? * + ( ) [ ] .
Regex.Escape(text: string): stringParameters
| Parameter | Type | Description |
|---|---|---|
text | string | Text to treat literally. |
Aliases: Regex.escape.
