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