<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>redhornet96</author_name>
  <author_url>https://blog.hatena.ne.jp/redhornet96/</author_url>
  <blog_title>もふもふ技術部</blog_title>
  <blog_url>https://www.mof-mof.co.jp/tech-blog/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Regular expressions</anon>
    <anon>Amount of money</anon>
  </categories>
  <description>固有表現抽出の出来るLUISとかを使えば、日本円での金額表記を簡単に抽出出来るかなーと思ったらprebuildのentityでは○○円という表現しつか抽出できなかった。 LUISのUIが一新され、Prebuilt entityが日本語も認識するようになった件 - Qiita のであきらめて普通にRubyを使って正規表現で抽出します。 正規表現サンプル集を参考にした $ irb str = 'この文章内にある金額表現を抽出したいです¥1,000、1000円、1,000円ほげ、1,000、1,000,000円、、、¥1,000,000、10,0,11。。1000000、123456789、,100…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2Fextract-currency&quot; title=&quot;文字列の中から正規表現で金額を全て抽出する(Ruby) - もふもふ技術部&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://cdn-ak.f.st-hatena.com/images/fotolife/m/mofmof-inc/20240128/20240128181801.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-07 00:00:00</published>
  <title>文字列の中から正規表現で金額を全て抽出する(Ruby)</title>
  <type>rich</type>
  <url>https://www.mof-mof.co.jp/tech-blog/extract-currency</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
