<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mah666hhh</author_name>
  <author_url>https://blog.hatena.ne.jp/mah666hhh/</author_url>
  <blog_title>スリ飯屋MaLankaのフリーエンジニアな日々</blog_title>
  <blog_url>https://www.malanka.org/</blog_url>
  <categories>
    <anon>技術関連</anon>
  </categories>
  <description>URI.regexp.match(検証したい文字列).nil? で出来ます。 # URLなのでMatchDataオブジェクトを返す。よって .nil? はfalseを返す &gt; URI.regexp.match('https://www.malanka.tech').nil? =&gt; false # URLではないのでマッチせずにnilを返す。よって .nil? はtrueを返す &gt; URI.regexp.match('URLではありません').nil? =&gt; true</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.malanka.org%2Fentry%2F2020%2F02%2F02%2F081030&quot; title=&quot;【正規表現】Rubyで、文字列がURLかどうかをチェックする - スリ飯屋MaLankaのフリーエンジニアな日々&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/mah666hhh/20200201/20200201213734.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-02 08:10:30</published>
  <title>【正規表現】Rubyで、文字列がURLかどうかをチェックする</title>
  <type>rich</type>
  <url>https://www.malanka.org/entry/2020/02/02/081030</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
