I 한 HTML 마크 업의 다음 섹션 ...정규 표현식은 분, 초 값 추출
<div style="margin: 0px 0px 0px 157px; padding: 16px 0px 16px 0px;">
<p class="sectionHdr">The page you requested is currently unavailable because the statistics are being updated.</p>
<p class="sectionHdr">The statistics update will finish in about 48 minutes 39 seconds.</p>
</div>
정규 표현식하십시오를 사용하여 분, 초 값을 추출하는 PHP 코드는 무엇입니까?
문자열 조작으로 할 수는 있지만 정규식으로 처리하는 것을 선호합니다. 나는 그저 머리를 감쌀 수 없었습니다.
뭔가? http://www.phpliveregex.com/p/iW7 –
가능하다면 "48"과 "39"를 따로 꺼내려고했다. –
좋아요? http://www.phpliveregex.com/p/iW9 실제로 당신은 무엇을 직접 시도 했습니까? –