1 / 3
amogtech
2 / 3
mhk
3 / 3
ccg


<?php


$string = 'I am Thet Naing Win and who are you?';
$find = '/000/';

function Match($find, $string){


  if(preg_match($find, $string)){
   return true;
  }else{
   return false;
  }
}

if(Match($find, $string)){
  echo 'Match Found!';
}else{
  echo 'Match Not Found!';
}

?>


Share On:

What do you think?

Send us feedback!