<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanamako8888</author_name>
  <author_url>https://blog.hatena.ne.jp/hanamako8888/</author_url>
  <blog_title>IT技術に関する情報掲載サイト</blog_title>
  <blog_url>https://www.it-educationblog.com/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>Javascriptが苦手なので、こういうこと細かいことがわからず、すぐ忘れてしまうので、メモ程度です。 RegEx関数を使うとうまくできます。 基本構文は、以下となります new RegExp( 正規表現パターン, フラグ ); 使い方は、 rep=&quot;あ&quot;; // 正規表現の条件を作成 var pattern = new RegExp(rep, &quot;g&quot;); strPref.match(pattern) 簡単だけど、知らないとできないですね</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.it-educationblog.com%2Fentry%2F2023%2F04%2F04%2F125128&quot; title=&quot;javascriptのmatch関数の正規表現を変数を使う場合 - IT技術に関する情報掲載サイト&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>2023-04-04 12:51:28</published>
  <title>javascriptのmatch関数の正規表現を変数を使う場合</title>
  <type>rich</type>
  <url>https://www.it-educationblog.com/entry/2023/04/04/125128</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
