내용중 캡션 이 부분만 정규직으로 이용해서 추출 할려고 합니다만 ㅠ,ㅠ

내용중 캡션 이 부분만 정규직으로 이용해서 추출 할려고 합니다만 ㅠ,ㅠ

QA

내용중 캡션 이 부분만 정규직으로 이용해서 추출 할려고 합니다만 ㅠ,ㅠ

본문

 


<p>
<table align="center" class="__se_tbl_ext" id="news_image" style="border: 1px solid rgb(210, 210, 210); border-image: none; margin-top: 15px; margin-bottom: 15px;" border="0" cellspacing="0" cellpaddin="0">
  <tbody>
    <tr>
      <td>
        <div style="margin: 8px;">
          <img width="500" align="absmiddle" src="http://주소/PEG/14346989125161.jpg"> // 사진 부분
        </div>
        <div id="news_caption" style="padding-right: 8px; padding-left: 8px;">
          ▲3333  // 캡션부분​
        </div>
      </td>
    </tr>
  </tbody>
</table>
<p> </p>
<p> </p> 
  
<p>
  <table align="center" class="__se_tbl_ext" id="news_image" style="border: 1px solid rgb(210, 210, 210); border-image: none; margin-top: 15px; margin-bottom: 15px;" border="0" cellspacing="0" cellpaddin="0">
    <tbody>
      <tr>
        <td>
          <div style="margin: 8px;">
            <img width="500" align="absmiddle" src="http://주소​/PEG/14346989037433.jpg">  // 사진 부분​
          </div>
          <div id="news_caption" style="padding-right: 8px; padding-left: 8px;">
            ▲22222  // 캡션부분​
          </div>
        </td>
      </tr>
    </tbody>
  </table>
<p> </p>
<p> </p> 
  
<p>
  <table align="center" class="__se_tbl_ext" id="news_image" style="border: 1px solid rgb(210, 210, 210); border-image: none; margin-top: 15px; margin-bottom: 15px;" border="0" cellspacing="0" cellpaddin="0">
    <tbody>
      <tr>
        <td>
          <div style="margin: 8px;">
            <img width="375" align="absmiddle" src="http://주소​/PEG/14346988935636.jpg">  // 사진 부분​
          </div>
          <div id="news_caption" style="padding-right: 8px; padding-left: 8px;">
            ▲1111  // 캡션부분
          </div>
        </td>
      </tr>
    </tbody>
  </table>
  <p> </p>
  <p> </p>
  <p> </p>  

 

 

위에 소스는 $_POST('content') 에 담아 져 있는데요. 위에 빨간색만 추출 하고 싶습니다. 

  
출추 하고 싶은 부분은 

캡션 (ex:  1111​) 
  
이부분만 추출 해서 각각 배열로 담을 할려고 합니다. 
  
정규직의 대한 지식이 없는 저로써 어떻게 할지 몰라 이렇게 글을 남김니다. 
  
부탁드립니다 ㅠ,ㅠ 
  
어떻게 해야 할지 ㅠㅠ,

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 59,611
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT