array ( /* $all_matches[0] is just like a preg_match's entire $matches */ 0 => array ( 0 => "Jack A. Smith", /* first match's full match */ 1 => "Jack", /* first match's 1st capturing parens*/ 2 => "A.", /* first match's 2nd capturing parens*/ 3 => "Smith" /* first match's 3rd capturing parens*/ ), /* $all_matches[1] is also just like a preg_match's entire $matches */ 1 => array ( 0 => "Mary B. Miller", /* second match's full match*/ 1 => "Mary", /* second match's 1st capturing parens*/ 2 => "B.", /* second match's 2nd capturing parens*/ 3 => "Miller" /* second match's 3rd capturing parens*/ ), ) ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl