Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php regex string start

$string = "amora";
$result = preg_match("#^amor(.*)$#i", $string);
if($result == 0)
{
    echo "No match";
}
else
{
    echo "Match found.";
}
//out: Match found.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #regex #string #start
ADD COMMENT
Topic
Name
1+1 =