기사 태그와 일치시키고 모든 텍스트를 가져올 정규식을 만들려고했습니다. 여기 기사 태그와 일치하는 정규식을 만들 수 없습니다.
내가 다음 Regex-<article (.*?)</article>
(?:<article>)(.*?)(?:</article>)
그들 중
없음 작동하지 호야의 도움을 시도까지 기사 tag.So 안에 모든 것을 필요로 한 태그
<article id="post-82" class="post-82 post type-post status-publish format-standard hentry category-publishing">
<div class="entry-content clearfix">
<div class="abh_box abh_box_up abh_box_drop-down"><ul class="abh_tabs"> <li class="abh_about abh_active">
<p>With India playing host,</p>
<footer class="entry-meta-bar clearfix"><div class="entry-meta clearfix">
<span class="comments"><a href="http://www.test.com/blog/emerging-markets/#respond">No Comments</a></span>
</div></footer>
</article>
나의 기사입니다 .
왜냐하면 정규 표현식은 HTML 구문 분석 작업에 잘못된 도구이기 때문입니다. 완벽하게 작동하지 않을 것입니다. HTML 파서 (HtmlAgilityPack 작동)를 사용하고 승리하십시오. – spender