<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>leo029</author_name>
  <author_url>https://blog.hatena.ne.jp/leo029/</author_url>
  <blog_title>leo029のメモ帳</blog_title>
  <blog_url>https://leo029.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>ワイルドカードを使った置換方法がうまくいかない。（失敗談のみ） 受付番号「○○○○」番号 この文の○○○○の部分をDBから取得した数値に置換したい。 けれど↑の文字は文章の一部であって、複数出てきます。 受付番号「○○○○」番号のお客様 振込が完了致しましたのでご連絡致します。 受付番号「○○○○」番号のお客様には多大なるご迷惑を御掛け致しました。 こんな感じのテンプレートがあります。 だからテンプレート文章をString型で保持して String stg = テンプレの文章; String no = 取得した番号; stg.replaceAll( &quot;受付番号「.*」番号&quot;, &quot;受付番号「&quot;+…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fleo029.hatenablog.com%2Fentry%2F2013%2F02%2F17%2F010331&quot; title=&quot;ワイルドカードの範囲 - leo029のメモ帳&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>2013-02-17 01:03:31</published>
  <title>ワイルドカードの範囲</title>
  <type>rich</type>
  <url>https://leo029.hatenablog.com/entry/2013/02/17/010331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
