For the latest version of JMP Help, visit JMP.com/help.

string = "abcABC";
 
result = Regex Match( string, Pat Regex( "[aBc]+" ) );
Show( string, result );
/ *returns string = "abcABC"
result = {"abcABC"}*/
 
result = Regex Match( string, Pat Regex( "[cba]+" ), NULL, MATCHCASE );
Show( string, result );
/* returns string = "abcABC"
result = {"abc"}*/

Help created on 3/19/2020