Regex¶
Include: Use System\Regex.pkg
Regex APIs expose the external cRegEx object for expression configuration, matching, splitting, substitution, and callback-based processing.
Class¶
- cRegEx - Regex object with properties and methods.
Example¶
Handle hoRegex
String[] aMatches
Get Create (RefClass(cRegEx)) to hoRegex
Set psExpression of hoRegex to "[0-9]+"
Get MatchAll of hoRegex "A12 B34" to aMatches
Send Destroy of hoRegex