# regexReplace
Replaces all occurrences of $pattern in $str by $replacement.

## Description
`static regexReplace(string $pattern, string $replacement, string $options)`

### Parameters
* _string_ __$pattern__  
The regular expression pattern.

* _string_ __$replacement__  
The string to replace with.

* _string_ __$options__  
Matching conditions to be used.


### Return Value
_static_  
Resulting string after the replacements