Assume we have an URL that we want to break down to its elements:
set aMailAddress = "support@e2ebridge.com";
set elements = aMailAddress.capture("(.*)@(.*)\.(.*)");
This will result in an array
elements
having the array elements
["support", "e2ebridge", "com"]
.