phpの正規表現の preg_matchで以下の文から
<link>http://www.nicovideo.jp/watch/sm28174623</link>を取得するにはどうすればいいでしょうか? よろしくお願いします。 <item> <title>【映画】インデペンデンス・デイ : リサージェンス スーパーボウルCM</title> <link>http://www.nicovideo.jp/watch/sm28174623</link> <guid isPermaLink="false">tag:nicovideo.jp,2016-02-08:/watch/sm28174623</guid> <pubDate>Mon, 08 Feb 2016 16:54:05 +0900</pubDate> <description><![CDATA[ <p class="nico-thumbnail"><img alt="【映画】インデペンデンス・デイ : リサージェンス スーパーボウルCM" src="http://tn-skr4.smilevideo.jp/smile?i=28174623" width="94" height="70" border="0"/></p> <p class="nico-description">【原題】Independence Day: Resurgence2016年6月24日 全米公開</p> <p class="nico-info"><small><strong class="nico-info-length">0:43</strong>|<strong class="nico-info-date">2016年02月08日 16:54:05</strong> 投稿</small></p> ]]></description> </item>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/02/09 09:12
2016/02/09 13:52