PHP Preg_Match_All Searches String For All Occurrences Of Regular Expression – String Function

<?php$s = 'A beautiful day';preg_match_all ('/beaut[^ ]+/', $s, $matches);var_dump ($matches)?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.