replace

Replaces the first match of a regular expression with a new value.