<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
    <anon>正規表現</anon>
  </categories>
  <description>昨日は、文字列内にある共通文字を「意味が通じる範囲に於いて」削除し、文字列全体を短くしてみた。 infoment.hatenablog.com 今日は昨日に引き続き、別パターンの文字列に対応してみる。今回のパターンは、こんな感じ。 最小値と最大値を、ニョロ（～）でつなぐタイプの人にも対応できるようにする。 ちなみに昨日のパターンは、同じ内容でも、こんな表現だった。 昨日の繰り返しになるが、こういう人も居る。 今回の方針は、以下の通り。 正規表現を用いる。 一文字以上の英字ののち「－」で繋がれた一桁以上の数字があって、その最小値と最大値が「～」で繋がれている。 「～」内に省略された数字は、必ず「…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2019%2F05%2F09%2F223841&quot; title=&quot;共通文字を削除 ② - Infomentのブログ ～Excel VBA奮闘記～&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/I/Infoment/20190509/20190509222847.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-09 22:38:41</published>
  <title>共通文字を削除 ②</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2019/05/09/223841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
