Answers for "preg_match() php 8"

PHP
0

preg_match in php

<?php
$my_url = "www.guru99.com";
if (preg_match("/guru/", $my_url))
{
	echo "the url $my_url contains guru";
}
else
{
	echo "the url $my_url does not contain guru";
}
?>
Posted by: Guest on October-29-2020

Code answers related to "preg_match() php 8"

Browse Popular Code Answers by Language