PHP Codes ,Php Examples , Php with MySQL , MySQL Examples
<?php $text = "Hello World"; if ( preg_match( "/r.*?d/", $text, $array ) ) { print "<pre>\n"; print_r( $array ); print "</pre>\n"; } ?>
Output : Array ( [0] => rld )
No comments:
Post a Comment