Добрый день!
Нужно получить код с почты сервиса kopeechka.store при повторной активации почты, не получается его спарсить через регулярное выражение(
$SITE&email=$EMAIL®ex=$REGEX&token=$TOKEN&type=$TYPE&subject=$SUBJECT&api=2.0

Приходит вот такой ответ:
{"status":"OK","value":"","fullmessage":"<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional \/\/EN\"><html><head><title>Facebook<\/title><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/><style nonce=\"QzfbqqXQ\">@media all and (max-width: 480px){*[class].ib_t{min-width:100% !important}*[class].ib_row{display:block !important}*[class].ib_ext{display:block !important;padding:10px 0 5px 0;vertical-align:top !important;width:100% !important}*[class].ib_img,*[class].ib_mid{vertical-align:top !important}*[class].mb_blk{display:block !important;padding-bottom:10px;width:100% !important}*[class].mb_hide{display:none !important}*[class].mb_inl{display:inline !important}*[class].d_mb_flex{display:block !important}}.d_mb_show{display:none}.d_mb_flex{display:flex}@media only screen and (max-device-width: 480px){.d_mb_hide{display:none !important}.d_mb_show{display:block !important}.d_mb_flex{display:block !important}}.mb_text h1,.mb_text h2,.mb_text h3,.mb_text h4,.mb_text h5,.mb_text h6{line-height:normal}.mb_work_text h1{font-size:18px;line-height:normal;margin-top:4px}.mb_work_text h2,.mb_work_text h3{font-size:16px;line-height:normal;margin-top:4px}.mb_work_text h4,.mb_work_text h5,.mb_work_text h6{font-size:14px;line-height:normal}.mb_work_text a{color:#1270e9}.mb_work_text p{margin-top:4px}<\/style><\/head><body style=\"margin:0;padding:0;\" dir=\"ltr\" bgcolor=\"#ffffff\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" id=\"email_table\" style=\"border-collapse:collapse;\"><tr><td id=\"email_content\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;background:#ffffff;\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\" colspan=\"3\"> <\/td><\/tr><tr><td height=\"1\" colspan=\"3\" style=\"line-height:1px;\"><span style=\"color:#FFFFFF;font-size:1px;opacity:0;\">We received a request to reset your Facebook password.<\/span><\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"15\" style=\"line-height:15px;\"> <\/td><\/tr><tr><td width=\"32\" align=\"left\" valign=\"middle\" style=\"height:32px;line-height:0px;\"><img width=\"118\" src=\"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yW\/r\/7s5lklTGUda.png\" height=\"24\" alt=\"Facebook\" style=\"border:0;font-size:19px;font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;color:#1877F2;\" \/><\/td><\/tr><tr style=\"border-bottom:solid 1px #e5e5e5;\"><td height=\"15\" style=\"line-height:15px;\"> <\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"4\" style=\"line-height:4px;\"> <\/td><\/tr><tr><td style=\"\"><span class=\"mb_text\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:16px;line-height:21px;color:#141823;\"><span style=\"font-size:15px;\"><p><div style=\"margin-top:16px; margin-bottom:20px;\">Hi Tasha,<\/div><div>We received a request to reset your Facebook password.<\/div>Enter the following password reset code:<\/p><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;width:max-content;margin-top:20px;margin-bottom:20px;\"><tr><td style=\"font-size:11px;font-family:LucidaGrande,tahoma,verdana,arial,sans-serif;padding:14px 32px 14px 32px;background-color:#f2f2f2;border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center;border-radius:7px;display:block;border:1px solid #1877f2;background:#e7f3ff;\"><span class=\"mb_text\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:16px;line-height:21px;color:#141823;\"><span style=\"font-size:17px; font-family: Roboto; font-weight: 700; margin-left: 0px;\n margin-right: 0px;\">486261<\/span><\/span><\/td><\/tr><\/table>Alternatively, you can directly change your password.<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\"> <\/td><\/tr><tr><td align=\"middle\" style=\"\"><a href=\"https:\/\/www.facebook.com\/recover\/code\/?n=486261&s=23&exp_locale=en_US&cuid=AYhIUAc8Mj_9Zm5_rKC8z6fwDrt0xDZhvdK27YlaoZbvYkCYZKK90_1zPwon5P4Z0QI_uefEUS0Si4qdXcdrSo6JNIXj7A2wdziAnvaBQr9rXg&redirect_from=button\" style=\"color:#1b74e4;text-decoration:none;\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr><td style=\"border-collapse:collapse;border-radius:6px;text-align:center;display:block;background:#1877f2;padding:8px 20px 8px 20px;\"><a href=\"https:\/\/www.facebook.com\/recover\/code\/?n=486261&s=23&exp_locale=en_US&cuid=AYhIUAc8Mj_9Zm5_rKC8z6fwDrt0xDZhvdK27YlaoZbvYkCYZKK90_1zPwon5P4Z0QI_uefEUS0Si4qdXcdrSo6JNIXj7A2wdziAnvaBQr9rXg&redirect_from=button\" style=\"color:#1b74e4;text-decoration:none;display:block;\"><center><font size=\"3\"><span style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;white-space:nowrap;font-weight:bold;vertical-align:middle;color:#FFFFFF;text-shadow:none;font-weight:500;font-family:Roboto-Medium,Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:17px;\">Change password<\/span><\/font><\/center><\/a><\/td><\/tr><\/table><\/a><\/td><\/tr><tr style=\"\"><td height=\"8\" style=\"line-height:8px;\"> <\/td><\/tr><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\"> <\/td><\/tr><\/table><br \/><div><span style=\"color:#333333;font-weight:bold;\">Didn't request this change?<\/span><\/div>If you didn't request a new password, <a href=\"https:\/\/www.facebook.com\/login\/recover\/cancel\/?n=486261&id=100080270075184&i=www\" style=\"color:#0A7CFF;text-decoration:none;\">let us know<\/a>.<\/span><\/span><\/td><\/tr><tr style=\"\"><td height=\"50\" style=\"line-height:50px;\"> <\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\" style=\"border-collapse:collapse;\"><tr style=\"border-top:solid 1px #e5e5e5;\"><td height=\"19\" style=\"line-height:19px;\"> <\/td><\/tr><tr><td style=\"font-family:Roboto-Regular,Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:12px;color:#8A8D91;line-height:16px;font-weight:400;\">This message was sent to <a href=\"mailto:edehopu2012@shokoko.xyz\" style=\"color:#1b74e4;text-decoration:none;\">edehopu2012@shokoko.xyz<\/a> at your request.<br \/>Meta Platforms, Inc., Attention: Community Support, 1 Facebook Way, Menlo Park,CA 94025<\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\" colspan=\"3\"> <\/td><\/tr><\/table><span style=\"\"><img src=\"https:\/\/www.facebook.com\/email_open_log_pic.php?mid=5de32ba088e28G5b05c0f26530G5de33039e90faG178\" style=\"border:0;width:1px;height:1px;\" \/><\/span><\/td><\/tr><\/table><\/body><\/html>\n\n\n\n","type":"text\/html"}
Может, кто-то сталкивался с этим? Очень нужна Ваша помощь!!!
Нужно получить код с почты сервиса kopeechka.store при повторной активации почты, не получается его спарсить через регулярное выражение(
$SITE&email=$EMAIL®ex=$REGEX&token=$TOKEN&type=$TYPE&subject=$SUBJECT&api=2.0

Приходит вот такой ответ:
{"status":"OK","value":"","fullmessage":"<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional \/\/EN\"><html><head><title>Facebook<\/title><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/><style nonce=\"QzfbqqXQ\">@media all and (max-width: 480px){*[class].ib_t{min-width:100% !important}*[class].ib_row{display:block !important}*[class].ib_ext{display:block !important;padding:10px 0 5px 0;vertical-align:top !important;width:100% !important}*[class].ib_img,*[class].ib_mid{vertical-align:top !important}*[class].mb_blk{display:block !important;padding-bottom:10px;width:100% !important}*[class].mb_hide{display:none !important}*[class].mb_inl{display:inline !important}*[class].d_mb_flex{display:block !important}}.d_mb_show{display:none}.d_mb_flex{display:flex}@media only screen and (max-device-width: 480px){.d_mb_hide{display:none !important}.d_mb_show{display:block !important}.d_mb_flex{display:block !important}}.mb_text h1,.mb_text h2,.mb_text h3,.mb_text h4,.mb_text h5,.mb_text h6{line-height:normal}.mb_work_text h1{font-size:18px;line-height:normal;margin-top:4px}.mb_work_text h2,.mb_work_text h3{font-size:16px;line-height:normal;margin-top:4px}.mb_work_text h4,.mb_work_text h5,.mb_work_text h6{font-size:14px;line-height:normal}.mb_work_text a{color:#1270e9}.mb_work_text p{margin-top:4px}<\/style><\/head><body style=\"margin:0;padding:0;\" dir=\"ltr\" bgcolor=\"#ffffff\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" id=\"email_table\" style=\"border-collapse:collapse;\"><tr><td id=\"email_content\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;background:#ffffff;\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\" colspan=\"3\"> <\/td><\/tr><tr><td height=\"1\" colspan=\"3\" style=\"line-height:1px;\"><span style=\"color:#FFFFFF;font-size:1px;opacity:0;\">We received a request to reset your Facebook password.<\/span><\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"15\" style=\"line-height:15px;\"> <\/td><\/tr><tr><td width=\"32\" align=\"left\" valign=\"middle\" style=\"height:32px;line-height:0px;\"><img width=\"118\" src=\"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yW\/r\/7s5lklTGUda.png\" height=\"24\" alt=\"Facebook\" style=\"border:0;font-size:19px;font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;color:#1877F2;\" \/><\/td><\/tr><tr style=\"border-bottom:solid 1px #e5e5e5;\"><td height=\"15\" style=\"line-height:15px;\"> <\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"4\" style=\"line-height:4px;\"> <\/td><\/tr><tr><td style=\"\"><span class=\"mb_text\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:16px;line-height:21px;color:#141823;\"><span style=\"font-size:15px;\"><p><div style=\"margin-top:16px; margin-bottom:20px;\">Hi Tasha,<\/div><div>We received a request to reset your Facebook password.<\/div>Enter the following password reset code:<\/p><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;width:max-content;margin-top:20px;margin-bottom:20px;\"><tr><td style=\"font-size:11px;font-family:LucidaGrande,tahoma,verdana,arial,sans-serif;padding:14px 32px 14px 32px;background-color:#f2f2f2;border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-bottom:1px solid #ccc;text-align:center;border-radius:7px;display:block;border:1px solid #1877f2;background:#e7f3ff;\"><span class=\"mb_text\" style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:16px;line-height:21px;color:#141823;\"><span style=\"font-size:17px; font-family: Roboto; font-weight: 700; margin-left: 0px;\n margin-right: 0px;\">486261<\/span><\/span><\/td><\/tr><\/table>Alternatively, you can directly change your password.<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\"> <\/td><\/tr><tr><td align=\"middle\" style=\"\"><a href=\"https:\/\/www.facebook.com\/recover\/code\/?n=486261&s=23&exp_locale=en_US&cuid=AYhIUAc8Mj_9Zm5_rKC8z6fwDrt0xDZhvdK27YlaoZbvYkCYZKK90_1zPwon5P4Z0QI_uefEUS0Si4qdXcdrSo6JNIXj7A2wdziAnvaBQr9rXg&redirect_from=button\" style=\"color:#1b74e4;text-decoration:none;\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse;\"><tr><td style=\"border-collapse:collapse;border-radius:6px;text-align:center;display:block;background:#1877f2;padding:8px 20px 8px 20px;\"><a href=\"https:\/\/www.facebook.com\/recover\/code\/?n=486261&s=23&exp_locale=en_US&cuid=AYhIUAc8Mj_9Zm5_rKC8z6fwDrt0xDZhvdK27YlaoZbvYkCYZKK90_1zPwon5P4Z0QI_uefEUS0Si4qdXcdrSo6JNIXj7A2wdziAnvaBQr9rXg&redirect_from=button\" style=\"color:#1b74e4;text-decoration:none;display:block;\"><center><font size=\"3\"><span style=\"font-family:Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;white-space:nowrap;font-weight:bold;vertical-align:middle;color:#FFFFFF;text-shadow:none;font-weight:500;font-family:Roboto-Medium,Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:17px;\">Change password<\/span><\/font><\/center><\/a><\/td><\/tr><\/table><\/a><\/td><\/tr><tr style=\"\"><td height=\"8\" style=\"line-height:8px;\"> <\/td><\/tr><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\"> <\/td><\/tr><\/table><br \/><div><span style=\"color:#333333;font-weight:bold;\">Didn't request this change?<\/span><\/div>If you didn't request a new password, <a href=\"https:\/\/www.facebook.com\/login\/recover\/cancel\/?n=486261&id=100080270075184&i=www\" style=\"color:#0A7CFF;text-decoration:none;\">let us know<\/a>.<\/span><\/span><\/td><\/tr><tr style=\"\"><td height=\"50\" style=\"line-height:50px;\"> <\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><td style=\"\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\" style=\"border-collapse:collapse;\"><tr style=\"border-top:solid 1px #e5e5e5;\"><td height=\"19\" style=\"line-height:19px;\"> <\/td><\/tr><tr><td style=\"font-family:Roboto-Regular,Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Lucida Grande,tahoma,verdana,arial,sans-serif;font-size:12px;color:#8A8D91;line-height:16px;font-weight:400;\">This message was sent to <a href=\"mailto:edehopu2012@shokoko.xyz\" style=\"color:#1b74e4;text-decoration:none;\">edehopu2012@shokoko.xyz<\/a> at your request.<br \/>Meta Platforms, Inc., Attention: Community Support, 1 Facebook Way, Menlo Park,CA 94025<\/td><\/tr><\/table><\/td><td width=\"15\" style=\"display:block;width:15px;\"> <\/td><\/tr><tr style=\"\"><td height=\"20\" style=\"line-height:20px;\" colspan=\"3\"> <\/td><\/tr><\/table><span style=\"\"><img src=\"https:\/\/www.facebook.com\/email_open_log_pic.php?mid=5de32ba088e28G5b05c0f26530G5de33039e90faG178\" style=\"border:0;width:1px;height:1px;\" \/><\/span><\/td><\/tr><\/table><\/body><\/html>\n\n\n\n","type":"text\/html"}
Может, кто-то сталкивался с этим? Очень нужна Ваша помощь!!!