
{"id":7904,"date":"2024-10-18T20:52:14","date_gmt":"2024-10-18T11:52:14","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=7904"},"modified":"2024-10-18T20:52:16","modified_gmt":"2024-10-18T11:52:16","slug":"excel-vba-regex","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/excel-vba-regex\/","title":{"rendered":"\u3010Excel VBA\u3011\u6b63\u898f\u8868\u73fe\uff08RegExp\uff09\u3067\u6587\u5b57\u5217\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\uff08\u691c\u7d22\u30fb\u62bd\u51fa\u30fb\u7f6e\u63db\uff09"},"content":{"rendered":"\n<p>Excel VBA\u3067\u6587\u5b57\u5217\u306e\u691c\u7d22\u3084\u7f6e\u63db\u3092\u884c\u3046\u969b\u306b\u3001\u4e00\u5b9a\u306e\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u6587\u5b57\u5217\u3092\u4f55\u30d1\u30bf\u30fc\u30f3\u3082\u307e\u3068\u3081\u3066\u51e6\u7406\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u6587\u5b57\u5217\u306e\u691c\u7d22\u30fb\u7f6e\u63db\u306a\u3069\u306e\u51e6\u7406\u304c\u4e00\u6c17\u306b\u4fbf\u5229\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">VBA\u306e\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u5fb9\u5e95\u89e3\u8aac<\/h2>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001VBA\u306b\u304a\u3051\u308b\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u3092\u62bc\u3055\u3048\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6b63\u898f\u8868\u73fe\u3068\u306f\uff1f<\/strong><\/li>\n\n\n\n<li><strong>VBA\u3067\u6b63\u898f\u8868\u73fe\u3092\u6271\u3046\u305f\u3081\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/strong><\/li>\n\n\n\n<li><strong>\u6b63\u898f\u8868\u73fe\u3092\u8868\u3059RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306f\uff1f<\/strong><\/li>\n\n\n\n<li><strong>\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u5b9f\u969b\u306bVBA\u3067\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u3068\u304d\u306b\u5f79\u7acb\u3064\u5fdc\u7528\u7684\u306a\u5185\u5bb9\u306b\u3064\u3044\u3066\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Test\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u304b\u691c\u7d22\u3059\u308b<\/strong><\/li>\n\n\n\n<li><strong>Execute\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b<\/strong><\/li>\n\n\n\n<li><strong>Replace\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3059\u308b<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">\u6b63\u898f\u8868\u73fe\u3068\u306f\uff1f<\/h2>\n\n\n\n<p><strong>\u6b63\u898f\u8868\u73fe<\/strong>\uff08Regular Expression\uff09\u3068\u306f\u3001\u8907\u6570\u306e\u6587\u5b57\u5217\u306b\u5bfe\u3057\u3066<strong>\u4e00\u5b9a\u306e\u30d1\u30bf\u30fc\u30f3\u3084\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u3082\u306e\u3092\u691c\u7d22\u30fb\u7f6e\u63db<\/strong>\u3059\u308b\u305f\u3081\u306e\u624b\u6cd5\u3001\u3042\u308b\u3044\u306f\u305d\u306e<strong>\u30d1\u30bf\u30fc\u30f3\u3084\u6761\u4ef6\u3092\u8868\u3059\u305f\u3081\u306e\u6587\u6cd5<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u6587\u5b57\u5217\u306e\u5168\u3066\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u5bfe\u3057\u3066\u4e00\u62ec\u3067\u691c\u7d22\u30fb\u7f6e\u63db\u306a\u3069\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u666e\u901a\u306e\u6587\u5b57\u5217\u691c\u7d22\u306e\u3088\u3046\u306bFind\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u4e00\u3064\u4e00\u3064\u5f53\u3066\u306f\u307e\u308b\u3082\u306e\u3092\u691c\u7d22\u3057\u3066\u51e6\u7406\u3057\u3066\u3044\u304f\u65b9\u6cd5\u3088\u308a\u3082\u3001\u52b9\u7387\u7684\u306b\u51e6\u7406\u304c\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010Find\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u306f\u3053\u3061\u3089\u3011<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/techmania.jp\/blog\/excel-vba-find\/\">\u3010Excel VBA\u3011Find\u30e1\u30bd\u30c3\u30c9\u3067\u691c\u7d22\uff08\u5b8c\u5168\u4e00\u81f4\u3001\u90e8\u5206\u4e00\u81f4\u3001\u8907\u6570\u4e00\u81f4\uff09\u3092\u884c\u3046\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-techmania wp-block-embed-techmania\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"RHj2JoJoSi\"><a href=\"https:\/\/techmania.jp\/blog\/excel-vba-find\/\">\u3010Excel VBA\u3011Find\u30e1\u30bd\u30c3\u30c9\u3067\u691c\u7d22\uff08\u5b8c\u5168\u4e00\u81f4\u3001\u90e8\u5206\u4e00\u81f4\u3001\u8907\u6570\u4e00\u81f4\uff09\u3092\u884c\u3046\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010Excel VBA\u3011Find\u30e1\u30bd\u30c3\u30c9\u3067\u691c\u7d22\uff08\u5b8c\u5168\u4e00\u81f4\u3001\u90e8\u5206\u4e00\u81f4\u3001\u8907\u6570\u4e00\u81f4\uff09\u3092\u884c\u3046\u65b9\u6cd5\u3092\u89e3\u8aac&#8221; &#8212; TechMania\" src=\"https:\/\/techmania.jp\/blog\/excel-vba-find\/embed\/#?secret=vpjBId46O7#?secret=RHj2JoJoSi\" data-secret=\"RHj2JoJoSi\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">VBA\u3067\u6b63\u898f\u8868\u73fe\u3092\u6271\u3046\u305f\u3081\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h2>\n\n\n\n<p>VBA\u3067\u6b63\u898f\u8868\u73fe\u3092\u6271\u3046\u305f\u3081\u306b\u306f\u3001\u6b63\u898f\u8868\u73fe\u306b\u95a2\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u306e<strong>\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong>\u3092\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5b9f\u969b\u306b\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u3092\u64cd\u4f5c\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u306f\u305d\u306e\u8a2d\u5b9a\u3092\u6e08\u307e\u305b\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u624b\u9806\u3011<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>VBA\u306e\u7de8\u96c6\u753b\u9762\u3092\u958b\u304f<\/li>\n\n\n\n<li>\u30e1\u30cb\u30e5\u30fc\u306e\u300c<strong>\u30c4\u30fc\u30eb<\/strong>\u300d\u304b\u3089\u300c<strong>\u53c2\u7167\u8a2d\u5b9a<\/strong>\u300d\u306e\u9805\u76ee\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b<\/li>\n\n\n\n<li>\u300c<strong>Microsoft VBScript Regular Expressions 5.5<\/strong>\u300d\u306e\u9805\u76ee\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3001OK\u3092\u62bc\u3057\u3066\u8a2d\u5b9a\u3092\u9589\u3058\u308b<\/li>\n<\/ol>\n\n\n\n<p><strong>\u3010\u8a2d\u5b9a\u753b\u9762\u3011<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/vba_regex01.png\" class=\"post-img\">\n\n\n\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u307f\u8fbc\u307e\u306a\u304f\u3066\u3082\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4e0a\u306e\u65b9\u6cd5\u3092\u4f7f\u3046\u3053\u3068\u3067VBA\u306e\u5165\u529b\u652f\u63f4\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u91cf\u3082\u6e1b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u3053\u3061\u3089\u306e\u8a2d\u5b9a\u3092\u9069\u7528\u3057\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u307f\u8fbc\u3093\u3067\u304b\u3089\u5b9f\u88c5\u3059\u308b\u306e\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">\u6b63\u898f\u8868\u73fe\u3092\u8868\u3059RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>VBA\u3067\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u8868\u3059\u306b\u306f<strong>RegExp<\/strong>\u3068\u3044\u3046\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6301\u3063\u3066\u3044\u308b<strong>\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u30d7\u30ed\u30d1\u30c6\u30a3<\/td><td>\u8aac\u660e<\/td><\/tr><tr><td><strong>Pattern<\/strong><\/td><td>\u691c\u7d22\u306b\u4f7f\u7528\u3059\u308b\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u8868\u73fe\u3057\u307e\u3059\u3002\u30d1\u30bf\u30fc\u30f3\u306e\u8868\u73fe\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>IgnoreCase<\/strong><\/td><td>\u30d1\u30bf\u30fc\u30f3\u691c\u7d22\u3067\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002True\u306e\u5834\u5408\u306f\u533a\u5225\u3057\u3066\u3001False\u306e\u5834\u5408\u306f\u533a\u5225\u3057\u307e\u305b\u3093\u3002\u521d\u671f\u5024\u306fFalse\u3067\u3059\u3002<\/td><\/tr><tr><td><strong>Global<\/strong><\/td><td>\u691c\u7d22\u6587\u5b57\u5217\u306e\u5168\u4f53\u306b\u3064\u3044\u3066\u30d1\u30bf\u30fc\u30f3\u3068\u306e\u4e00\u81f4\u3092\u691c\u7d22\u3059\u308b\u304b\u3001\u6700\u521d\u306e\u4e00\u81f4\u3060\u3051\u3092\u691c\u7d22\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002True\u3067\u6587\u5b57\u5217\u5168\u4f53\u306b\u3064\u3044\u3066\u4e00\u81f4\u3092\u691c\u7d22\u3057\u3001False\u3067\u6700\u521d\u306e\u4e00\u81f4\u3060\u3051\u3092\u691c\u7d22\u3057\u307e\u3059\u3002\u521d\u671f\u5024\u306fFalse\u3067\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u307e\u305f\u3001RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6301\u3063\u3066\u3044\u308b<strong>\u30e1\u30bd\u30c3\u30c9<\/strong>\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u30e1\u30bd\u30c3\u30c9<\/td><td>\u8aac\u660e<\/td><\/tr><tr><td><strong>Test<\/strong><\/td><td>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u691c\u7d22\u3057\u3066\u3001\u305d\u306e\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092True\/False\u3067\u8fd4\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>Replace<\/strong><\/td><td>\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3092\u884c\u3044\u3001\u4e00\u81f4\u3059\u308b\u3082\u306e\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3068\u7f6e\u63db\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>Execute<\/strong><\/td><td>\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u3067\u691c\u7d22\u3057\u305f\u7d50\u679c\u3092MatchCollection\u3067\u8fd4\u3057\u307e\u3059\u3002\u4e00\u81f4\u3059\u308b\u3082\u306e\u304c\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u7a7a\u306eMatchCollection\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>MatchCollection<\/strong>\u306f\u3001\u691c\u7d22\u3057\u305f\u6587\u5b57\u5217\u306e\u4e2d\u3067\u4e00\u81f4\u304c\u898b\u3064\u304b\u3063\u305f\u6587\u5b57\u5217\u3054\u3068\u306b\u5b58\u5728\u3059\u308b<strong>Match\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306e\u96c6\u5408\u3067\u3059\u3002MatchCollection\u3068Match\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u3067\u306f\u3001\u6587\u5b57\u5217\u306e\u30d1\u30bf\u30fc\u30f3\u3092<strong>\u8a18\u53f7\u3068\u6587\u5b57\u306e\u7d44\u307f\u5408\u308f\u305b<\/strong>\u306b\u3088\u3063\u3066\u8868\u73fe\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u3088\u304f\u4f7f\u308f\u308c\u308b\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u8868\u306b\u307e\u3068\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u8a18\u53f7<\/td><td>\u8aac\u660e<\/td><td>\u66f8\u304d\u65b9\u3068\u4e00\u81f4\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306e\u4f8b<\/td><\/tr><tr><td>.<\/td><td>\u4efb\u610f\u306e1\u6587\u5b57\uff08\u6539\u884c\u6587\u5b57\u306f\u9664\u304f\uff09<\/td><td>&#8220;.ar&#8221;: car, var, ]ar, &#8230;<\/td><\/tr><tr><td>*<\/td><td>\u76f4\u524d\u306e1\u6587\u5b57\u304c0\u56de\u4ee5\u4e0a\u7e70\u308a\u8fd4\u3055\u308c\u3066\u3044\u308b<\/td><td>&#8220;hoge*&#8221;: hog, hoge, hogeeeee<\/td><\/tr><tr><td>^<\/td><td>\u884c\u306e\u5148\u982d\u306e\u6587\u5b57<\/td><td>&#8220;^foo&#8221;: food, foot<\/td><\/tr><tr><td>$<\/td><td>\u884c\u306e\u672b\u5c3e\u306e\u6587\u5b57<\/td><td>&#8220;10$&#8221;: 410, 1010, 110, &#8230;<\/td><\/tr><tr><td>[ ]<\/td><td>\u62ec\u5f27\u5185\u306e\u4efb\u610f\u306e1\u6587\u5b57\u3068\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3002\u30cf\u30a4\u30d5\u30f3 &#8211; \u3067\u7bc4\u56f2\u6307\u5b9a\u304c\u3067\u304d\u308b\u3002<\/td><td>&#8220;[a-z]&#8221;: \u5c0f\u6587\u5b57\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u5168\u3066<br>&#8220;[a-Z]&#8221;: \u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u5168\u3066<\/td><\/tr><tr><td>[^ ]<\/td><td>\u62ec\u5f27\u5185\u306e\u4efb\u610f\u306e1\u6587\u5b57\u3068\u4e00\u81f4\u3057\u306a\u3044\u6587\u5b57\u5217\u3002\u30cf\u30a4\u30d5\u30f3 &#8211; \u3067\u7bc4\u56f2\u6307\u5b9a\u304c\u3067\u304d\u308b\u3002<\/td><td>&#8220;[^a-Z]&#8221;: \u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u4ee5\u5916\u306e\u6587\u5b57\u5217<\/td><\/tr><tr><td>+<\/td><td>\u76f4\u524d\u306e1\u6587\u5b57\u304c1\u56de\u4ee5\u4e0a\u7e70\u308a\u8fd4\u3055\u308c\u308b<\/td><td>&#8220;a+b&#8221;: ab, aaaab, aaaaaab, &#8230;.<\/td><\/tr><tr><td>{ }<\/td><td>\u62ec\u5f27\u306e\u76f4\u524d\u306e\u6587\u5b57\u304c\u62ec\u5f27\u5185\u306e\u6570\u5024\u306e\u56de\u6570\u3076\u3093\u3060\u3051\u7e70\u308a\u8fd4\u3055\u308c\u308b\u3002\u30ab\u30f3\u30de , \u3092\u6570\u5024\u306e\u524d\u306b\u5165\u308c\u308b\u3068\u4ee5\u4e0b\u3001\u5f8c\u308d\u306b\u5165\u308c\u308b\u3068\u4ee5\u4e0a\u3001\u4e8c\u3064\u306e\u6570\u5024\u306e\u9593\u306b\u5165\u308c\u308b\u3068\u4e8c\u3064\u306e\u6570\u5024\u306e\u7bc4\u56f2\u5185\u306e\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308b\u3002<\/td><td>&#8220;a{3}&#8221;: aaa, caaa, aaa<br>&#8220;a{,3}&#8221;: aa, ca, aaa, &#8230;<br>&#8220;a{3,}&#8221;: aaa, aaaa, aaaaaaa<br>&#8220;a{2,4}&#8221;: aaa, aa, aaaa<\/td><\/tr><tr><td>|<\/td><td>\u8a18\u53f7\u306e\u524d\u5f8c\u306e\u6587\u5b57\u5217\u3069\u3061\u3089\u304b\u306b\u4e00\u81f4\u3059\u308b\u3002<\/td><td>&#8220;foo|bar&#8221;: foo, bar<\/td><\/tr><tr><td>( )<\/td><td>\u62ec\u5f27\u306e\u4e2d\u306e\u6587\u5b57\u5217\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u3002\u307e\u305f\u3001\u305d\u306e\u6587\u5b57\u5217\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/td><td>&#8211;<\/td><\/tr><tr><td>\\<\/td><td>\u8a18\u53f7\u3092\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u3002\u4e0a\u306b\u793a\u3057\u305f\u8a18\u53f7\u3092\u305d\u306e\u307e\u307e\u691c\u7d22\u6587\u5b57\u5217\u306b\u542b\u3081\u305f\u3044\u5834\u5408\u306b\u4f7f\u7528\u3059\u308b\u3002<\/td><td>&#8220;\\[a+\\]&#8221;: [a], [aaaa], &#8230;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5b9f\u969b\u306bRegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3066\u6b63\u898f\u8868\u73fe\u3067\u6587\u5b57\u5217\u3092\u64cd\u4f5c\u3059\u308b\u969b\u306e\u3001\u30d1\u30bf\u30fc\u30f3\u306a\u3069\u306e\u6307\u5b9a\u306b\u3064\u3044\u3066\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Dim re As New RegExp 'RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u751f\u6210\u3055\u308c\u308b\nWith re\n    .Pattern = \"#&#91;1-9]\"\n    .Global = True\n    .IgnoreCase = True\nEnd With<\/code><\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u305f\u3081\u306e\u30d1\u30bf\u30fc\u30f3\u306e\u6307\u5b9a\u306a\u3069\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u3060\u3051\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u306f\u4e00\u884c\u76ee\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u578b\u306e\u5ba3\u8a00\u6642\u306b<strong>New<\/strong>\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5ba3\u8a00\u3057\u305f\u3042\u3068\u306bSet\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001With\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001re\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8a18\u8ff0\u3092\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u305f\u691c\u7d22\u3084\u7f6e\u63db\u3092\u884c\u3046\u306b\u306f\u3001Test\/Replace\/Execute\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u9806\u756a\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">Test\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u304b\u691c\u7d22\u3059\u308b<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u3001<strong>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3057\u3066\u3044\u308b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b<\/strong>\u3092\u8abf\u3079\u308b\u65b9\u6cd5\u304b\u3089\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u306e\u5b58\u5728\u3092\u8abf\u3079\u308b\u306b\u306f\u3001<strong>Test\u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Test\u30e1\u30bd\u30c3\u30c9\u306f\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3057\u305f\u7d50\u679c\u304c\u3042\u308b\u5834\u5408\u306f<strong>True<\/strong>\u3092\u3001\u7121\u3044\u5834\u5408\u306f<strong>False<\/strong>\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.Test(\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217)<\/code><\/pre>\n\n\n\n<p>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u90e8\u5206\u306b\u306f\u3001\u5b9f\u969b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u306e\u540d\u524d\u304c\u5165\u308a\u307e\u3059\u3002\u6587\u5b57\u5217\u306e\u90e8\u5206\u306f\u691c\u7d22\u3059\u308b\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sub Regex_Test()\n    Dim re As New RegExp\n    Dim str As String\n    Dim testVal As Variant\n    With re\n        .Pattern = \"#&#91;1-9]\" '#1, #2, #3, ... #9\u307e\u3067\u306e\u3069\u308c\u304b\u306b\u4e00\u81f4\u3059\u308b\n        .Global = True\n        .IgnoreCase = True\n    End With\n    str = \"123 6#5 adcb\" '\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3059\u308b\u5bfe\u8c61\u306e\u6587\u5b57\u5217\n    testVal = re.Test(str)\n    If testVal Then\n        MsgBox \"\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u304c1\u3064\u4ee5\u4e0a\u898b\u3064\u304b\u308a\u307e\u3057\u305f\"\n    Else\n        MsgBox \"\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\"\n    End If\nEnd Sub<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/vba_regex02.png\" class=\"post-img\">\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001&#8221;123 6#5 adcb&#8221;\u3068\u3044\u3046\u6587\u5b57\u5217\u306e\u4e2d\u3067\u3001#1, #2, #3, &#8230; \u3068\u3044\u3046\u3088\u3046\u306b\u3001#\u306e\u3042\u3068\u306b1\u304b\u30899\u307e\u3067\u306e\u6570\u5b57\u304c1\u3064\u7d9a\u304f\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u7d22\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u691c\u7d22\u3057\u305f\u7d50\u679c\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3067\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Test\u30e1\u30bd\u30c3\u30c9\u81ea\u4f53\u306e\u6a5f\u80fd\u306f\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u3060\u3051\u3067\u3059\u304c\u3001\u305d\u306e\u6709\u7121\u306b\u5fdc\u3058\u3066If\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u51e6\u7406\u3092\u5206\u3051\u308b\u306a\u3069\u3001\u4f7f\u3044\u65b9\u306f\u69d8\u3005\u306b\u5fdc\u7528\u3067\u304d\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">Execute\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b<\/h2>\n\n\n\n<p>\u6b21\u306b\u3001\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u305d\u306e\u3082\u306e\u3092\u8fd4\u3059<strong>Execute\u30e1\u30bd\u30c3\u30c9<\/strong>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Execute\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6b63\u898f\u8868\u73fe\u691c\u7d22\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u306e\u60c5\u5831\u3092\u8868\u3059<strong>Match\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306e\u96c6\u5408\u3067\u3042\u308b<strong>MatchCollection<\/strong>\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.Execute(\u691c\u7d22\u6587\u5b57\u5217)<\/code><\/pre>\n\n\n\n<p><strong>\u3010Match\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306f\u3011<\/strong><\/p>\n\n\n\n<p><strong>Match\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u3068\u306f\u3001Execute\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u691c\u7d22\u3057\u305f\u7d50\u679c\u306e\u30011\u30641\u3064\u306e\u6587\u5b57\u5217\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u683c\u7d0d\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<strong>FirstIndex<\/strong>, <strong>Length<\/strong>, <strong>Value<\/strong>\u306e3\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u5168\u3066\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f<strong>\u53c2\u7167\u306e\u307f\u53ef\u80fd<\/strong>\u3067\u3001\u5024\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u30d7\u30ed\u30d1\u30c6\u30a3<\/td><td>\u8aac\u660e<\/td><td>\u30c7\u30fc\u30bf\u306e\u578b<\/td><\/tr><tr><td>FirstIndex<\/td><td>\u691c\u7d22\u3057\u305f\u7d50\u679c\u3001\u6587\u5b57\u5217\u306e\u4e2d\u3067\u6700\u521d\u306b\u5408\u81f4\u3057\u305f\u4f4d\u7f6e\u3092\u8868\u3057\u307e\u3059\u3002<\/td><td>\u6570\u5024\uff081\u6587\u5b57\u76ee\u30920\u3067\u8868\u3059\uff09<\/td><\/tr><tr><td>Length<\/td><td>\u691c\u7d22\u3067\u5408\u81f4\u3057\u305f\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u8868\u3057\u307e\u3059\u3002<\/td><td>\u6570\u5024<\/td><\/tr><tr><td>Value<\/td><td>\u691c\u7d22\u3067\u5408\u81f4\u3057\u305f\u6587\u5b57\u5217\u305d\u306e\u3082\u306e\u3092\u8868\u3057\u307e\u3059\u3002<\/td><td>\u6587\u5b57\u5217<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u3010MatchCollection\u3068\u306f\u3011<\/strong><\/p>\n\n\n\n<p><strong>MatchCollection<\/strong>\u3068\u306fMatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u96c6\u5408\u3067\u3001Collection\u3068\u3044\u3046\u5f62\u5f0f\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002MatchCollection\u306e\u500b\u5225\u306e\u5024\u304cMatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3068\u540c\u6642\u306b\u3001MatchCollection\u81ea\u4f53\u306b\u3082<strong>Count<\/strong>,<strong> Item<\/strong>\u3068\u3044\u30462\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u53c2\u7167\u306e\u307f\u53ef\u80fd\u3067\u3001\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u30d7\u30ed\u30d1\u30c6\u30a3<\/td><td>\u8aac\u660e<\/td><\/tr><tr><td><strong>Count<\/strong><\/td><td>\u683c\u7d0d\u3055\u308c\u3066\u3044\u308bMatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570<\/td><\/tr><tr><td><strong>Item<\/strong><\/td><td>\u683c\u7d0d\u3055\u308c\u3066\u3044\u308bMatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u500b\u5225\u306e\u9805\u76ee<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5b9f\u969b\u306bExecute\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sub ExtractMatches()\n    Dim re As New RegExp\n    Dim matches As MatchCollection\n    Dim match As Match\n    Dim inputString As String\n    \n    '\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u8a2d\u5b9a\n    With re\n        .Pattern = \"#&#91;1-9]\"\n        .Global = True\n        .IgnoreCase = True\n    End With\n    \n    '\u5165\u529b\u6587\u5b57\u5217\u306e\u8a2d\u5b9a\n    inputString = \"Sample text with #1, #2, and #3 as tags.\"\n    \n    '\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u90e8\u5206\u3092\u62bd\u51fa\n    Set matches = re.Execute(inputString)\n    \n    '\u30de\u30c3\u30c1\u3057\u305f\u90e8\u5206\u3092\u8868\u793a\n    For Each match In matches\n        Debug.Print match.Value\n    Next match\nEnd Sub<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/vba_regex03.png\" class=\"post-img\">\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092Execute\u30e1\u30bd\u30c3\u30c9\u3067\u62bd\u51fa\u3057\u3001\u8fd4\u308a\u5024\u306e<strong>MatchCollection<\/strong>\u3092For Each\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u30eb\u30fc\u30d7\u3067\u56de\u3057\u3066\u3044\u307e\u3059\u3002For Each\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001<strong>MatchCollection\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5168\u3066\u306eMatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306b1\u3064\u305a\u3064\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30eb\u30fc\u30d7\u306e\u4e2d\u306e\u51e6\u7406\u3067\u306f\u6587\u5b57\u5217\u306e\u5148\u982d\u304b\u3089\u4e00\u81f4\u3057\u305f\u9806\u306bDebug.Print\u3067\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Test\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u6587\u5b57\u5217\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u307e\u3067\u3057\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001Execute\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001<strong>\u5408\u81f4\u3059\u308b\u6587\u5b57\u5217\u305d\u306e\u3082\u306e\u3092\u53c2\u7167<\/strong>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e2\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u5177\u4f53\u7684\u306a\u4f7f\u3044\u5206\u3051\u306e\u4f8b\u3068\u3057\u3066\u306f\u3001\u305f\u3068\u3048\u3070Test\u30e1\u30bd\u30c3\u30c9\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u306a\u5f62\u5f0f\u306e\u6c7a\u307e\u3063\u3066\u3044\u308b\u6587\u5b57\u5217\u306b\u5bfe\u3057\u3066\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3092\u304b\u3051\u3001\u6709\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304b\u3069\u3046\u304b\u3092\u691c\u8a3c\u3059\u308b\u3068\u3044\u3063\u305f\u3001<strong>\u5358\u7d14\u306a\u6761\u4ef6\u5206\u5c90\u3092\u5229\u7528\u3059\u308b\u51e6\u7406<\/strong>\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u65b9\u3067Execute\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6b63\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b\u306a\u3069\u3001<strong>\u5408\u81f4\u3057\u305f\u6587\u5b57\u5217\u3092\u5b9f\u969b\u306b\u53c2\u7167\u3059\u308b\u5834\u5408<\/strong>\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u3046\u307e\u304f\u4f7f\u3044\u5206\u3051\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306a\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3059\u308b<strong>Replace\u30e1\u30bd\u30c3\u30c9<\/strong>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__8\" class=\"wp-block-heading\">Replace\u30e1\u30bd\u30c3\u30c9\u3067\u6b63\u898f\u8868\u73fe\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3059\u308b<\/h2>\n\n\n\n<p>VBA\u306eReplace\u30e1\u30bd\u30c3\u30c9\u306f\u3001<strong>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3057\u305f\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3067\u7f6e\u63db\u3059\u308b<\/strong>\u64cd\u4f5c\u3092\u884c\u3046\u305f\u3081\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>RegExp\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.Replace(\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217, \u7f6e\u63db\u5f8c\u306e\u6587\u5b57\u5217)<\/code><\/pre>\n\n\n\n<p>Replace\u30e1\u30bd\u30c3\u30c9\u306f2\u3064\u306e\u5f15\u6570\u3092\u53d6\u308a\u307e\u3059\u3002<strong>1\u756a\u76ee\u304c\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u691c\u7d22\u306e\u5bfe\u8c61\u3068\u306a\u308b\u6587\u5b57\u5217<\/strong>\u3067\u3001<strong>2\u756a\u76ee\u304c\u305d\u306e\u691c\u7d22\u3067\u5408\u81f4\u3057\u305f\u3082\u306e\u306b\u5bfe\u3057\u3066\u7f6e\u63db\u3059\u308b\u6587\u5b57\u5217<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u3001\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3057\u305f\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sub DeleteChars()\n    Dim re As New RegExp\n    Dim inputString As String\n    Dim resultString As String\n    \n    ' \u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u8a2d\u5b9a\n    With re\n        .Pattern = \"&#91;a-z]+\" '\u5c0f\u6587\u5b57\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u304c1\u56de\u4ee5\u4e0a\u73fe\u308c\u308b\u6587\u5b57\u5217\u306b\u4e00\u81f4\u3059\u308b\n        .Global = True\n    End With\n    \n    ' \u5165\u529b\u6587\u5b57\u5217\u306e\u8a2d\u5b9a\n    inputString = \"sdfasdfTEefdsdfCHkjhg lkijMdadjeclANIfducpleA\u7de8jaqv\u96c6cxli\u90e8\"\n    \n    ' \u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u90e8\u5206\u3092\u7f6e\u63db\n    resultString = re.Replace(inputString, \"\")\n    \n    ' \u7d50\u679c\u3092\u8868\u793a\n    MsgBox resultString\nEnd Sub<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/vba_regex04.png\" class=\"post-img\">\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001&#8221;sdfasdfTEefdsdfCHkjhg lkijMdadjeclANIfducpleA\u7de8jaqv\u96c6cxli\u90e8&#8221;\u3068\u3044\u3046\u6587\u5b57\u5217\u304b\u3089<strong>\u5c0f\u6587\u5b57\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8<\/strong>\u3060\u3051\u3092\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3057\u3001<strong>\u7a7a\u6587\u5b57\u5217\u3067\u7f6e\u63db<\/strong>\u3059\u308b\u3053\u3068\u3067\u524a\u9664\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3059\u308b\u5834\u5408\u306eReplace\u30e1\u30bd\u30c3\u30c9\u306f\u3001<strong>\u66f8\u5f0f\u3084\u5f62\u5f0f\u304c\u540c\u3058\u3067\u5185\u5bb9\u304c\u7570\u306a\u308b\u6587\u5b57\u5217<\/strong>\u3092\u4e00\u62ec\u3067\u7f6e\u63db\u51e6\u7406\u3057\u305f\u3044\u30b1\u30fc\u30b9\u306a\u3069\u306b\u975e\u5e38\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__9\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>VBA\u3067\u5927\u91cf\u306e\u6587\u5b57\u5217\u3092\u64cd\u4f5c\u3059\u308b\u969b\u3001\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u691c\u7d22\u30fb\u7f6e\u63db\u306f<strong>\u5fc5\u9808<\/strong>\u3067\u3059\u3002\u6b63\u898f\u8868\u73fe\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u51e6\u7406\u306e\u52b9\u7387\u306f\u683c\u6bb5\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u3001\u305c\u3072\u3053\u306e\u8a18\u4e8b\u3092\u4f55\u5ea6\u3082\u8aad\u3093\u3067\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<h2 id=\"outline__10\" class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n<ul>\n<li><a href=\"https:\/\/techmania.jp\/blog\/vba0001\/\" target=\"_blank\" rel=\"noopener\">VBA\u3068\u306f<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/excel-function\/\" target=\"_blank\" rel=\"noopener\">Excel\u3067\u899a\u3048\u3066\u304a\u304f\u3079\u304d17\u306e\u57fa\u672c\u95a2\u6570\u3068\u76ee\u7684\u5225\u9006\u5f15\u304d\u4e00\u89a7<\/a><\/li>\n<li><a href=\"https:\/\/techmania.jp\/blog\/excel-vba-value\/\">\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u30fb\u4e0a\u66f8\u304d\u3059\u308bValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u3044\u65b9<\/a><\/li>\n<li>\n<div>\n<div><a href=\"https:\/\/techmania.jp\/blog\/excel-vba-range\/\">Range\u3067\u30bb\u30eb\u3092\u7bc4\u56f2\u9078\u629e\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/div>\n<\/div>\n<\/li>\n<li>\n<div>\n<div><a href=\"https:\/\/techmania.jp\/blog\/excel-vba-find\/\">Find\u30e1\u30bd\u30c3\u30c9\u3067\u691c\u7d22\uff08\u5b8c\u5168\u4e00\u81f4\u3001\u90e8\u5206\u4e00\u81f4\u3001\u8907\u6570\u4e00\u81f4\uff09\u3092\u884c\u3046\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/div>\n<\/div>\n<\/li>\n<\/ul>\n\n\n<h2 id=\"outline__11\" class=\"wp-block-heading\">VBA\u306e\u52c9\u5f37\u65b9\u6cd5\u306f\uff1f<\/h2>\n\n\n<p>\u66f8\u7c4d\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u6628\u4eca\u3067\u306f\u3001YouTube\u306a\u3069\u306e\u52d5\u753b\u30b5\u30a4\u30c8\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\u3082\u5145\u5b9f\u3057\u3066\u3044\u3066\u591a\u304f\u306e\u60c5\u5831\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3059\u308b\u306b\u306f\u3001\u77e5\u8b58\u3092\u3064\u3051\u306a\u304c\u3089\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u306a\u3069\u3001\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u72ec\u5b66\u306e\u5834\u5408\u306f\u3001\u6709\u8b58\u8005\u306b\u8cea\u554f\u304c\u3067\u304d\u305f\u308a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3082\u3089\u3048\u308b\u3088\u3046\u306a\u74b0\u5883\u304c\u3042\u308b\u3068\u3001\u7406\u89e3\u5ea6\u304c\u6df1\u307e\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305f\u3060\u3001VBA\u306b\u9650\u3089\u305a\u3001IT\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u969b\u3001\u3069\u3046\u3057\u3066\u3082\u8ab2\u984c\u306b\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u7279\u306b\u72ec\u5b66\u3060\u3068\u3001\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u3092\u30d7\u30ed\u306b\u8cea\u554f\u3067\u304d\u308b\u6a5f\u4f1a\u3092\u78ba\u4fdd\u3057\u306b\u304f\u304f\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7d9a\u304d\u306b\u304f\u3044\u3068\u3044\u3046\u5074\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u72ec\u5b66\u3067\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u81ea\u4fe1\u304c\u306a\u3044\u4eba\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\u3002\u8cbb\u7528\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3084\u3059\u3044\u3067\u3059\u3002\u3057\u3063\u304b\u308a\u3068\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3057\u3066\u5b9f\u8df5\u306b\u6d3b\u304b\u3057\u305f\u3044\u3068\u3044\u3046\u4eba\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><span class=\"markerYellow\"><strong>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u306a\u3089\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u304c\u304a\u3059\u3059\u3081\uff01<\/strong><\/span><\/p>\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/yuudou.png\" class=\"post-img\">\n\n\n<p>IT\u30b9\u30ad\u30eb\u9700\u8981\u306e\u9ad8\u307e\u308a\u3068\u3068\u3082\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3082\u5897\u3048\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3069\u306e\u30b9\u30af\u30fc\u30eb\u306b\u901a\u3046\u3079\u304d\u304b\u8ff7\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3093\u306a\u65b9\u306b\u306f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff01\u3053\u308c\u307e\u3067\u591a\u304f\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u80b2\u6210\u30fb\u8f29\u51fa\u3057\u3066\u304d\u305f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3092\u958b\u8b1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"bgBox\">\n<p><strong>\uff1c\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306e\u7279\u5fb4\uff1e<\/strong><br \/><strong>\u30fb\u305f\u3057\u304b\u306a\u80b2\u6210\u5b9f\u7e3e\u3068\u89aa\u8eab\u306a\u6559\u80b2\u3000\uff5e\u30bb\u30ab\u30f3\u30c9\u30ad\u30e3\u30ea\u30a2\u3092\u5168\u529b\u652f\u63f4\uff5e<\/strong><br \/><strong>\u30fb\u8b1b\u5e2b\u304c\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u3000\uff5e\u201c\u672c\u5f53\u201d\u306e\u958b\u767a\u30ce\u30a6\u30cf\u30a6\u3092\u76f4\u306b\u5b66\u3079\u308b\uff5e<\/strong><br \/><strong>\u30fb\u5c02\u5c5e\u8b1b\u5e2b\u304c\u5b66\u7fd2\u3092\u5fb9\u5e95\u30b5\u30dd\u30fc\u30c8\u3000\uff5e\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3092\u5fb9\u5e95\u89e3\u6c7a\uff5e<\/strong><br \/><strong>\u30fb\u5b9f\u52d9\u30d9\u30fc\u30b9\u3067\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3000\uff5e\u5b9f\u8df5\u7684\u306a\u51dd\u7e2e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\uff5e<\/strong><\/p>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3064\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u3068\u3057\u3066\u6700\u9069\u3067\u3059\u3002<br \/>\u8a71\u3092\u805e\u304d\u305f\u3044\u30fb\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f<a href=\"https:\/\/techmania.jp\/lp\/2\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"Excel VBA\u3067\u6587\u5b57\u5217\u306e\u691c\u7d22\u3084\u7f6e\u63db\u3092\u884c\u3046\u969b\u306b\u3001\u4e00\u5b9a\u306e\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u6587\u5b57\u5217\u3092\u4f55\u30d1\u30bf\u30fc\u30f3\u3082\u307e\u3068\u3081\u3066\u51e6\u7406\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u6587\u5b57\u5217\u306e\u691c\u7d22\u30fb\u7f6e\u63db\u306a\u3069\u306e\u51e6\u7406\u304c\u4e00\u6c17\u306b\u4fbf\u5229\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 VBA\u306e\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u5fb9\u5e95\u89e3\u8aac \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001VBA\u306b\u304a\u3051\u308b\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u3092\u62bc\u3055\u3048\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u305d\u3057\u3066\u3001\u5b9f\u969b\u306b [&hellip;]","protected":false},"author":8,"featured_media":7944,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/vba_regex.png","fifu_image_alt":"\u3010Excel VBA\u3011\u6b63\u898f\u8868\u73fe\uff08RegExp\uff09\u3067\u6587\u5b57\u5217\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\uff08\u691c\u7d22\u30fb\u62bd\u51fa\u30fb\u7f6e\u63db\uff09","footnotes":""},"categories":[1],"tags":[],"class_list":["post-7904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/7904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=7904"}],"version-history":[{"count":26,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/7904\/revisions"}],"predecessor-version":[{"id":7943,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/7904\/revisions\/7943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/7944"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=7904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=7904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=7904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}