public function censorText($text)
	{
		return preg_replace_callback(
			$this->regexp,
			function ($m)
			{
				return $this->getReplacement($m[0]);
			},
			$text
		);
	}
public function censorText($text)
	{
		return preg_replace_callback(
			$this->regexp,
			function ($m)
			{
				return $this->getReplacement($m[0]);
			},
			$text
		);
	}
public function censorText ( $ text ) { return preg_replace_callback ( $ this -> regexp , function ( $ m ) { return $ this -> getReplacement ( $ m [ 0 ] ) ; } , $ text ) ; }
Censor given plain text

@param  string $text Original text
@return string       Censored text
Censor given plain text