String matches : Date Time : Development PHP Source Code


PHP Source Code » Development » Date Time »

 

String matches




<?php
     $string = "PHP is great!";
     $pattern = "/P.P/";
     if(preg_match($pattern, $string))
          print("Found a match!");
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Date Time