Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

preg_replace examples

$result = preg_replace(
    array('/pattern1/', '/pattern2/'),
    array('replace1', 'replace2'),
    $string
);
Source by lzone.de #
 
PREVIOUS NEXT
Tagged: #examples
ADD COMMENT
Topic
Name
3+1 =