Online preg_match( ) function


int preg_match ( string $pattern , string $subject )
Searches subject for a match to the regular expression given in pattern.