src/classes/CCStr.php
public static function preg_replace( $arr, $string, $count = null ) 
	{
		return preg_replace( array_keys( $arr ), array_values( $arr ), $string, $count );
	}
public static function preg_replace( $arr, $string, $count = null ) 
	{
		return preg_replace( array_keys( $arr ), array_values( $arr ), $string, $count );
	}
public static function preg_replace ( $ arr , $ string , $ count = null ) { return preg_replace ( array_keys ( $ arr ) , array_values ( $ arr ) , $ string , $ count ) ; }
preg replace using key => value of an array

@param string		$string
@param array 		$arr
@param int		$count
@return string
preg replace using key = > value of an array