Skip to main content

remove

Removes all the characters according to the regex parameter from the passed in string

Syntax

string = remove(string, regex)

Example

print remove("The end is nigh", "e")
Th nd is nigh
```js
print remove("The end is nigh", "\[ei\]")
Th nd s ngh