아무것도를 받고 그 내 현재 코드입니다하지 :나는 몇 줄의 코드에서 값을 좀하고 싶습니다는 preg_match
$body = "<td class='tam12'><img src='/assets/img/banderas/es.png' width='30' height='20' /></td><td class='tam12'>2017-05-22</td><td class='tam12'><img src='/assets/img/servidores/streamplay.jpg' width='80' height='25' style='border-radius:4px;' /></td><td><a class='capitulo2' href='anonim.php?id=4936681&e=' rel='nofollow' target='_blank' alt=''>Ver online</a>";
$patternopenload = "#<img src='/assets/img/banderas/es.png' width='[^']*' height='[^']*' /></td><td class='tam12'>[^']*</td><td class='tam12'><img src='/assets/img/servidores/streamplay.jpg' width='[^']*' height='[^']*' style='[^']* /></td><td><a class='[^']*' href='(.*?)' rel='nofollow' target='_blank' alt=''>Ver online</a></td>";
preg_match($patternopenload, $body, $primero);
echo $primero[1];
하지만 난 아무것도받지 못했습니다. 누군가가 내가 아주 감사하게 될 거라고 나를 도울 수 있다면, 나는 그것을 적어도 오십 번 개정 한 이유를 이해하지 않습니다
먼저 HTML을 정규식으로 구문 분석하지 마십시오. 정규 표현식 (예 :'#')에서 끝 구분 기호가 누락되었습니다. '... Ver online # ";' – Toto
@Toto 그렇습니다. 게시물을 보내고 나서 눈치 채었지만 여전히 고쳐졌지만 여전히 작동하지 않습니다. –