Script functions reference > Script functions in alphabetical order > R > Regexmatch

Regexmatch
Syntax
Regexmatch(source, regexp);
source
regexp
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
0
Example
$myString = "Green Blue Yellow"; 
If( regexmatch( $myString, "*Blue*" ) = 1)
{
   Log( 0, "Blue color found" );
}
 
OpenText StreamServe 5.6 Updated: 2013-03-01