 Construct a regex for extracting names from a given string 'Jayden, Malcolm, and Jimmy went to school'
 regex = r'[A-Z][a-z]+(?:, [A-Z][a-z]+)*(?: and)? [A-Z][a-z]+'
 regex = r'[A-Z][a-z]+(?:, [A-Z][a-z]+)*(?: and)? [A-Z][a-z]+'
 قم ببناء تعبير منتظم لاستخراج الأسماء من السلسلة المعطاة 'Jayden, Malcolm, and Jimmy went to school'