OCLOperators regExpMatch
This page was created by Stephanie on 2025-01-09. Last edited by Peter.byaruhanga on 2026-01-29.
RegExpMatch is versatile to find if a complex pattern is in a string.
Example
For email regular expression match We can use this.
'john@mdriven.net'.regExpMatch('^[a-A-0-9+_.-]+@[a-A-0-9.-]+\.[a-zA-Z]{2,3}$')
This returns True
