RegularExpression::setReplace PHP Method

setReplace() public method

public setReplace ( $replace )
    function setReplace($replace)
    {
        $this->regexp->setReplace($replace);
    }

Usage Example

 /**
  * Sets the replacement string
  * 
  * @param string $string
  */
 public function setReplace($string)
 {
     $this->_regexp->setReplace($string);
 }