<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>creators_plus</author_name>
  <author_url>https://blog.hatena.ne.jp/creators_plus/</author_url>
  <blog_title>始まりのかぼす</blog_title>
  <blog_url>https://creators.hateblo.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>最近何かと正規表現にお世話のなることが多く、C#での正規表現の扱い方を簡単に紹介したいと思います。 まずは、usingに以下を追加します。 using System.Text.RegularExpressions; それで、実際の正規表現は string str=&quot;これはサンプルです！&quot;; if(Regex.IsMatch(str, @&quot;(こ|あ|そ)れはサンプル！?&quot;)) { //真のときの処理 } else { //偽のときの処理 } のように書きます。 すごく突っ込み所満載な正規表現ですが、とりあえずこんな感じです。 ではでは～</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcreators.hateblo.jp%2Fentry%2F2014%2F08%2F05%2F235349&quot; title=&quot;C#正規表現 - 始まりのかぼす&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>2014-08-05 23:53:49</published>
  <title>C#正規表現</title>
  <type>rich</type>
  <url>https://creators.hateblo.jp/entry/2014/08/05/235349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
