<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtoyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/mtoyoshi/</author_url>
  <blog_title>mtoyoshi開発メモ</blog_title>
  <blog_url>https://mtoyoshi.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>String = &quot;ban, pan, an, pn, pen, pension, pEn, PAN&quot;; こんな文字列から「pan,pen,pension,pEn」を抽出するには、 Matcher matcher = Pattern.compile(&quot;p[a-zA-Z]+n&quot;).matcher(targetString); while ( matcher.find() ) { System.out.println(matcher.group()); } とすればうまく抽出できます。 これに加えてPANも抽出するには、次のようにします。 Matcher matcher = Pattern.com…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtoyoshi.hateblo.jp%2Fentry%2F20080408%2F1207645145&quot; title=&quot;正規表現で大文字と小文字を区別しない - mtoyoshi開発メモ&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>2008-04-08 17:59:05</published>
  <title>正規表現で大文字と小文字を区別しない</title>
  <type>rich</type>
  <url>https://mtoyoshi.hateblo.jp/entry/20080408/1207645145</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
