php preg_match vs preg_match_all code example
Example 1: preg_match in php
int preg_match (string pattern, string string [, array pattern_array], [, int $flags [, int $offset]]]);
Example 2: preg_match in php
<html>
<head>
<title>Hello World</title>
</head>
<body>
<?php echo "Hello, World!";?>
</body>
</html>