Answers for "how to use substring with regex in php"

PHP
1

find substring regx php

if (preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.")) {
    echo "A match was found.";
} else {
    echo "A match was not found.";
}
Posted by: Guest on May-26-2020

Code answers related to "how to use substring with regex in php"

Browse Popular Code Answers by Language