Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php regex strin start with

$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 #strin #start
ADD COMMENT
Topic
Name
3+8 =