<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>例えば次のようなテキストを &quot;藤堂ユリカ\n一ノ瀬かえで\n神崎美月&quot; 👇 &quot;藤堂ユリカ 一ノ瀬かえで 神崎美月&quot; のように置き換えたい時 JavaScriptにはreplaceAllのようなメソッドがないので、 const str = &quot;藤堂ユリカ\n一ノ瀬かえで\n神崎美月&quot;; str.replace(&quot;\n&quot;, &quot; &quot;); // =&gt; &quot;藤堂ユリカ 一ノ瀬かえで\n神崎美月&quot; 単純にstr.replace()を使っても最初にマッチした文字しか置き換えられません。 str.replace() で正規表現を使って置き換える 正攻法。 str.replace() の検索文字を正規表現( Reg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2018%2F12%2F11%2F173000&quot; title=&quot;JavaScript 該当する文字を全部変換したいメモ - かもメモ&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>https://images-fe.ssl-images-amazon.com/images/I/51XVy7grx2L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-11 17:30:00</published>
  <title>JavaScript 該当する文字を全部変換したいメモ</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2018/12/11/173000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
