<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>グループ $s = &quot;2013/11/12&quot;; ($y,$m,$d) = $s =~ /(\d+)\/(\d+)\/(\d+)/; print &quot;$1-$2-$3\n&quot;; print &quot;$y-$m-$d\n&quot;; 2013-11-12 2013-11-12 複数マッチ $s = &quot;456__123___789&quot;; @m = $s =~ /[\d]+/g; print &quot;@m\n&quot;; 456 123 789参考:perl で正規表現にマッチした文字列を配列に入れる方法 | perl/CGI | 阿部辰也のブログ――人生はひまつぶし。 1個 $s = &quot;abcdefg&quot;; $s =~ /b.*e/;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20140118%2Fpreg&quot; title=&quot;正規表現でマッチした文字列を取得する - 揮発性のメモ２&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-18 00:00:00</published>
  <title>正規表現でマッチした文字列を取得する</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20140118/preg</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
