<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>seinzumtode</author_name>
  <author_url>https://blog.hatena.ne.jp/seinzumtode/</author_url>
  <blog_title>how to code something</blog_title>
  <blog_url>https://seinzumtode.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>group()を使うのがミソ。 以下では数字のうしろにセミコロンというゴミが入っている文字列の中から 数字だけ取り出すコード。 import re hoge = &quot;12345;&quot; suuji = re.match(&quot;\d*&quot;,hoge) extracted = suuji.group() http://www.geocities.jp/m_hiroi/light/python04.html</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F20120519%2F1337409036&quot; title=&quot;pythonで正規表現を使って数字列を取り出す - how to code something&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>2012-05-19 15:30:36</published>
  <title>pythonで正規表現を使って数字列を取り出す</title>
  <type>rich</type>
  <url>https://seinzumtode.hatenadiary.jp/entry/20120519/1337409036</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
