Regexmatch Syntax Regexmatch(source, regexp); source A string specifying the source where you perform the search. regexp A regular expression defining the search. Description Searches through a source by using a regular expression For information on regular expression syntax, refer e.g. to: http://www.regular-expressions.info/reference.html Returns 1 Match 0 No match Example $myString = "Green Blue Yellow"; If( regexmatch( $myString, "*Blue*" ) = 1) { Log( 0, "Blue color found" ); }
Regexmatch(source, regexp);
source
regexp
1
0
$myString = "Green Blue Yellow";
If( regexmatch( $myString, "*Blue*" ) = 1)
{
Log( 0, "Blue color found" );
}