更新时间:2021-09-28 17:20:42
preg_match('|form action="([^"]*?)" method="post" id="mc-embedded-subscribe-form"|i', $html, $matches); $url = $matches[1];
PHP-使用regex从MailChimp订阅表单代码中提取表单操作URL