Regular expressions

$str = "Visit Quickref.me";
echo preg\_match("/qu/i", $str); # => 1

See: Regex in PHP

Comments