We can easily check for a match in a string
if (preg_match("/happy/i", "happy is he who has ")) {
echo "match found.";
} else {
echo "match not found.";
}
?>
Ama nasıl bir web sayfası maçın oluşumu için kontrol edin veya bir url verilen nasıl?
EDIT:
How to use Regex to find if a specific string exists within a webpage? I am able to extract all the information and display it using the code given in one of answers.