Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to use preg_replace() function in php

<!DOCTYPE html>
<html>
<body>
  <?php  
  // Display result after replace and count 
  echo preg_replace(array('/d/', '/s/'),
          '*', '1234567890', 8);
  ?>
</body>
</html>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #How #function #php
ADD COMMENT
Topic
Name
8+5 =