<br />
<b>Warning</b>:  Undefined array key "is_top" in <b>/home/xs288648/inno-mark.jp/public_html/datavista/wp-content/themes/sango-theme/library/gutenberg/dist/blocks/content-block.php</b> on line <b>91</b><br />
<br />
<b>Warning</b>:  Undefined array key "is_top" in <b>/home/xs288648/inno-mark.jp/public_html/datavista/wp-content/themes/sango-theme/library/gutenberg/dist/blocks/content-block.php</b> on line <b>91</b><br />
<br />
<b>Warning</b>:  Undefined array key "is_top" in <b>/home/xs288648/inno-mark.jp/public_html/datavista/wp-content/themes/sango-theme/library/gutenberg/dist/blocks/content-block.php</b> on line <b>91</b><br />
{"id":3910,"date":"2025-02-25T19:59:26","date_gmt":"2025-02-25T10:59:26","guid":{"rendered":"https:\/\/inno-mark.jp\/datavista\/?p=3910"},"modified":"2026-05-14T17:13:53","modified_gmt":"2026-05-14T08:13:53","slug":"regexp_contains-function","status":"publish","type":"post","link":"https:\/\/inno-mark.jp\/datavista\/blog\/regexp_contains-function\/","title":{"rendered":"\u30c7\u30fc\u30bf\u30dd\u30fc\u30bf\u30eb\uff08\u65e7Looker Studio\uff09\u3067\u6587\u5b57\u5217\u5185\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u7d22\u3059\u308b\uff5cREGEXP_CONTAINS\u95a2\u6570\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Looker Studio\u3067\u30c7\u30fc\u30bf\u3092\u5206\u6790\u3057\u3066\u3044\u308b\u3068\u3001\u300cURL\u306e\u7279\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u3092\u62bd\u51fa\u3057\u3066\u5206\u6790\u3057\u305f\u3044\u300d\u300cGA4\u306e\u30da\u30fc\u30b8\u30d1\u30b9\u304b\u3089\u30b3\u30f3\u30c6\u30f3\u30c4\u30ab\u30c6\u30b4\u30ea\u3092\u81ea\u52d5\u5206\u985e\u3057\u305f\u3044\u300d\u300c\u5546\u54c1\u30b3\u30fc\u30c9\u306e\u5148\u982d\u6587\u5b57\u3067\u88fd\u54c1\u30b0\u30eb\u30fc\u30d7\u3092\u632f\u308a\u5206\u3051\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u5834\u9762\u306b\u983b\u7e41\u306b\u76f4\u9762\u3057\u307e\u3059\u3002\u3053\u3046\u3057\u305f\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u62bd\u51fa\u306e\u30cb\u30fc\u30ba\u306b\u5fdc\u3048\u3066\u304f\u308c\u308b\u306e\u304c\u3001REGEXP_CONTAINS\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u305f\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u691c\u7d22\u3092\u884c\u3044\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u304b\u3069\u3046\u304b\u3092TRUE\/FALSE\u3067\u8fd4\u3059\u95a2\u6570\u3067\u3059\u3002CASE\u6587\u3084\u30d5\u30a3\u30eb\u30bf\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001GA4\u30ec\u30dd\u30fc\u30c8\u3084\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u9023\u643a\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u304a\u3044\u3066\u3001\u9ad8\u5ea6\u306a\u30c7\u30fc\u30bf\u5206\u985e\u30fb\u62bd\u51fa\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f\u3001REGEXP_CONTAINS\u95a2\u6570\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u3001GA4\u30c7\u30fc\u30bf\u306e\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u4f8b\u3001CASE\u6587\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30c6\u30af\u30cb\u30c3\u30af\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u307e\u3067\u3092\u7db2\u7f85\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u6b63\u898f\u8868\u73fe\u306b\u4e0d\u6163\u308c\u306a\u65b9\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001\u30b3\u30fc\u30c9\u4f8b\u3068\u89e3\u8aac\u3092\u8c4a\u5bcc\u306b\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u6700\u5f8c\u307e\u3067\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"\"><div class=\"sgb-content-block post-4920 js-sgb-content-block\" data-id=\"4920\">\n<p class=\"wp-block-paragraph\">\u69d8\u3005\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u53d6\u308a\u6271\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u7528\u9014\u3084\u30b7\u30fc\u30f3\u306b\u5408\u308f\u305b\u3066\u3001\u6700\u9069\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3044\u305f\u3060\u304f\u3053\u3068\u3067\u3001\u65e5\u3005\u306e\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3084\u30c7\u30fc\u30bf\u5206\u6790\u306e\u304a\u5f79\u306b\u7acb\u3061\u307e\u3059\uff01<br><a href=\"https:\/\/inno-mark.jp\/datavista\/report\/\" data-type=\"page\" data-id=\"37\">\u30ec\u30dd\u30fc\u30c8\u4e00\u89a7\u306f\u3053\u3061\u3089<\/a><\/p>\n<\/div><\/div>\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-0\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">1. REGEXP_CONTAINS\u95a2\u6570\u3068\u306f<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\">\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3068\u7279\u5fb4<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u3001Looker Studio\u3067<strong>\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u7d22\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u6a5f\u80fd<\/strong>\u3067\u3059\u3002\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u62bd\u51fa\u3057\u3001TRUE\u307e\u305f\u306fFALSE\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u3048\u3070\u3001\u300c\u3053\u306e\u6587\u5b57\u5217\u306b\u306f\u201dcampaign\u201d\u3068\u3044\u3046\u5358\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\uff1f\u300d\u300c\u3053\u306eURL\u306f\u201d\/blog\/\u201d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u304b\uff1f\u300d\u3068\u3044\u3063\u305f\u5224\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>REGEXP_CONTAINS\u95a2\u6570<\/strong>\u306f\u3001Looker Studio\u3067\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u7d22\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u7528\u3057\u3066\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u62bd\u51fa\u3057\u3001TRUE\/FALSE\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e3b\u306a\u6d3b\u7528\u30b7\u30fc\u30f3\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>URL\u304b\u3089\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u3092\u5206\u6790<\/li>\n\n\n\n<li>\u5546\u54c1\u30b3\u30fc\u30c9\u304b\u3089\u88fd\u54c1\u30ab\u30c6\u30b4\u30ea\u3092\u81ea\u52d5\u5206\u985e<\/li>\n\n\n\n<li>GA4\u306e\u30a4\u30d9\u30f3\u30c8\u540d\u3084\u30da\u30fc\u30b8\u30d1\u30b9\u306e\u6761\u4ef6\u5206\u5c90<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u60c5\u5831\u304b\u3089\u30c7\u30d0\u30a4\u30b9\u5224\u5b9a<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u53c2\u8003:<\/strong>&nbsp;Looker Studio\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u2013&nbsp;<a href=\"https:\/\/support.google.com\/looker-studio\/table\/6379764?hl=ja\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u95a2\u6570\u30ea\u30b9\u30c8<\/a><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"block-db64dddc-93e9-4bf1-a6c1-990f55f8b633\">\u4ed6\u306e\u6b63\u898f\u8868\u73fe\u95a2\u6570\u3068\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-369dda58-b63f-4930-b838-97ed1d10ee8b\">REGEXP_CONTAINS\u4ee5\u5916\u306b\u3082\u985e\u4f3c\u306e\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u7528\u9014\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div id=\"id-ea76c4cf-5eed-43dc-be53-aa26b23159fe\">\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u95a2\u6570\u540d<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><th>\u623b\u308a\u5024<\/th><\/tr><\/thead><tbody><tr><td>REGEXP_CONTAINS<\/td><td>\u30d1\u30bf\u30fc\u30f3\u306e\u542b\u6709\u5224\u5b9a<\/td><td>TRUE\/FALSE<\/td><\/tr><tr><td>REGEXP_MATCH<\/td><td>\u5b8c\u5168\u4e00\u81f4\u306e\u5224\u5b9a<\/td><td>TRUE\/FALSE<\/td><\/tr><tr><td>REGEXP_EXTRACT<\/td><td>\u30d1\u30bf\u30fc\u30f3\u306e\u62bd\u51fa<\/td><td>\u6587\u5b57\u5217<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"block-6babf75e-845d-4673-91e9-cba84b7e8f43\">GA4\u3084\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u5206\u6790\u3059\u308b\u969b\u3001REGEXP_CONTAINS\u306f\u7279\u306b\u91cd\u5b9d\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\">\u4ed6\u306e\u6b63\u898f\u8868\u73fe\u95a2\u6570\u3068\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u3001REGEXP_MATCH\u95a2\u6570\u3084REGEXP_EXTRACT\u95a2\u6570\u306a\u3069\u3068\u6bd4\u8f03\u3057\u3066\u3001\u3088\u308a\u76f4\u611f\u7684\u306a\u4f7f\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u3067\u4e3b\u306a\u9055\u3044\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n<div id=\"id-8f020581-93b3-4d6f-93ee-e0a559bcb706\">\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u95a2\u6570\u540d<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><th>\u623b\u308a\u5024<\/th><\/tr><\/thead><tbody><tr><td>REGEXP_CONTAINS<\/td><td>\u30d1\u30bf\u30fc\u30f3\u306e\u542b\u6709\u5224\u5b9a<\/td><td>TRUE\/FALSE<\/td><\/tr><tr><td>REGEXP_MATCH<\/td><td>\u5b8c\u5168\u4e00\u81f4\u306e\u5224\u5b9a<\/td><td>TRUE\/FALSE<\/td><\/tr><tr><td>REGEXP_EXTRACT<\/td><td>\u30d1\u30bf\u30fc\u30f3\u306e\u62bd\u51fa<\/td><td>\u6587\u5b57\u5217<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u4ee5\u5916\u306b\u985e\u4f3c\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>REGEXP_CONTAINS\u3068\u5c11\u3057\u7528\u9014\u304c\u9055\u3046\u305f\u3081\u3001\u51e6\u7406\u3057\u305f\u3044\u65b9\u6cd5\u306b\u5408\u308f\u305b\u3066\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u53c2\u8003:<\/strong>&nbsp;Looker Studio\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u2013&nbsp;<a href=\"https:\/\/support.google.com\/looker-studio\/answer\/10496674\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Looker Studio\u306e\u6b63\u898f\u8868\u73fe<\/a><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-4\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">2. REGEXP_CONTAINS\u95a2\u6570\u306e\u57fa\u672c\u69cb\u6587<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-5\">\u95a2\u6570\u306e\u66f8\u304d\u65b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u69cb\u6587\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u7406\u89e3\u3057\u3084\u3059\u3044\u5f62\u5f0f\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>\u57fa\u672c\u69cb\u6587\u306f\u300cREGEXP_CONTAINS(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \u201c\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u201d)\u300d\u3067\u3059\u3002<br>\u3053\u306e2\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u76ee\u7684\u306e\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u7b2c3\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>REGEXP_CONTAINS(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \"\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\")<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-6\">\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8aac\u660e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u306f\u3001\u305d\u308c\u305e\u308c\u91cd\u8981\u306a\u5f79\u5272\u304c\u3042\u308a\u307e\u3059\u3002\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8a73\u7d30\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br>\u691c\u7d22\u5bfe\u8c61\u5185\u306b\u8a72\u5f53\u30c7\u30fc\u30bf\u304c\u3042\u308b\u3053\u3068\u304c\u524d\u63d0\u306b\u306a\u308a\u307e\u3059\u3002\u8a72\u5f53\u30c7\u30fc\u30bf\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u306a\u3069\u3082\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u3001\u30d1\u30bf\u30fc\u30f3\u306e\u4e00\u81f4\u3092\u898b\u3064\u3051\u308b\u95a2\u6570\u306e\u305f\u3081\u3001\u691c\u7d22\u3057\u305f\u3044\u30d1\u30bf\u30fc\u30f3\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list is-style-sango-list-chevron\">\n<li>\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9\n<ul class=\"wp-block-list is-style-sango-list-simple\">\n<li>\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u5185\u306e\u5217\u540d\u3084\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/li>\n\n\n\n<li>\u6587\u5b57\u5217\u578b\u306e\u30c7\u30fc\u30bf\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/li>\n\n\n\n<li>\u6570\u5024\u578b\u306e\u30c7\u30fc\u30bf\u3092\u691c\u7d22\u3059\u308b\u5834\u5408\u306f\u3001CAST\u95a2\u6570\u3067\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<ol start=\"0\" class=\"wp-block-list is-style-sango-list-chevron\">\n<li>\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\n<ul class=\"wp-block-list is-style-sango-list-simple\">\n<li>\u691c\u7d22\u3057\u305f\u3044\u30d1\u30bf\u30fc\u30f3\u3092\u6b63\u898f\u8868\u73fe\u3067\u6307\u5b9a\u3057\u307e\u3059<\/li>\n\n\n\n<li>\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08\u201d\uff09\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/li>\n\n\n\n<li>\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\uff08\\\uff09\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u304c\u5fc5\u8981\u3067\u3059<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306e\u8868\u3067\u3001\u4ee3\u8868\u7684\u306a\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div id=\"id-d243d01b-f821-4b1d-97af-d64bb9b1478a\">\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30d1\u30bf\u30fc\u30f3<\/th><th>\u8aac\u660e<\/th><th>\u4f7f\u7528\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>^<\/td><td>\u884c\u306e\u5148\u982d<\/td><td>^http<\/td><\/tr><tr><td>$<\/td><td>\u884c\u306e\u672b\u5c3e<\/td><td>.com$<\/td><\/tr><tr><td>.<\/td><td>\u4efb\u610f\u306e1\u6587\u5b57<\/td><td>h.t<\/td><\/tr><tr><td>*<\/td><td>\u76f4\u524d\u306e\u6587\u5b57\u306e0\u56de\u4ee5\u4e0a\u306e\u7e70\u308a\u8fd4\u3057<\/td><td>a*<\/td><\/tr><tr><td>+<\/td><td>\u76f4\u524d\u306e\u6587\u5b57\u306e1\u56de\u4ee5\u4e0a\u306e\u7e70\u308a\u8fd4\u3057<\/td><td>a+<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u898f\u8868\u73fe\u306f\u3001\u6163\u308c\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u6163\u308c\u3066\u610f\u5473\u304c\u308f\u304b\u308b\u3068\u6b63\u898f\u8868\u73fe\u306f\u4ed6\u306e\u30a8\u30af\u30bb\u30eb\u3084\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u3082\u6982\u5ff5\u306f\u540c\u3058\u306b\u306a\u308b\u306e\u3067\u3001\u5225\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3082\u6d3b\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7121\u6599\u3067GA4\u306e\u30ec\u30dd\u30fc\u30c8\u3082\u3054\u63d0\u4f9b\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/trial\/\" data-type=\"page\" data-id=\"488\">\u7121\u6599\u306eGA4\u30ec\u30dd\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-7\">\u623b\u308a\u5024\u306e\u7406\u89e3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u3001\u691c\u7d22\u7d50\u679c\u3068\u3057\u3066\u8ad6\u7406\u5024\uff08TRUE\/FALSE\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u623b\u308a\u5024\u306e\u7279\u5fb4\u3068\u6d3b\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u3082\u305d\u3082\u623b\u308a\u5024\uff08\u3082\u3069\u308a\u3061\uff09\u306f\u3001\u5224\u5b9a\u3057\u305f\u5f8c\u306e\u7d50\u679c\u306e\u5024\u306e\u3053\u3068\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A\u30d1\u30bf\u30fc\u30f3\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3092\u5224\u5b9a\u3059\u308b\u3000\u2192\u3000\u7d50\u679c\uff1a\u306a\u304b\u3063\u305f\uff08\u3053\u308c\u304c\u623b\u308a\u5024\uff09\u3000\u306b\u306a\u308a\u307e\u3059\u3002<br>\u51e6\u7406\u3057\u305f\u3042\u3068\u306e\u6570\u5024\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u304b\u3089\u623b\u308a\u5024\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list is-style-sango-list-chevron\">\n<li>TRUE\uff08\u771f\uff09\u306e\u5834\u5408\n<ul class=\"wp-block-list is-style-sango-list-main-color\">\n<li>\u6307\u5b9a\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u304c\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9\u5185\u306b\u5b58\u5728\u3059\u308b<\/li>\n\n\n\n<li>\u6761\u4ef6\u5206\u5c90\uff08CASE\u6587\u306a\u3069\uff09\u3067\u6761\u4ef6\u3068\u3057\u3066\u4f7f\u7528\u53ef\u80fd<\/li>\n\n\n\n<li>\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u306e\u57fa\u6e96\u3068\u3057\u3066\u6d3b\u7528\u53ef\u80fd<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list is-style-sango-list-chevron\">\n<li>FALSE\uff08\u507d\uff09\u306e\u5834\u5408\n<ul class=\"wp-block-list is-style-sango-list-main-color\">\n<li>\u6307\u5b9a\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u304c\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9\u5185\u306b\u5b58\u5728\u3057\u306a\u3044<\/li>\n\n\n\n<li>NULL\u5024\u3084\u7a7a\u6587\u5b57\u306e\u5834\u5408\u3082 FALSE \u3068\u306a\u308b<\/li>\n\n\n\n<li>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306fNULL\u304c\u8fd4\u3055\u308c\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306b\u5177\u4f53\u7684\u306a\u4f7f\u7528\u4f8b\u3092\u793a\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># URL\u304chttps\u3067\u59cb\u307e\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\nREGEXP_CONTAINS(\u30da\u30fc\u30b8URL, \"^https\")\n\n# \u5546\u54c1\u30b3\u30fc\u30c9\u304c\u6570\u5b573\u6841-\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c82\u5b57\u306e\u5f62\u5f0f\u304b\u3092\u5224\u5b9a\nREGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9, \"^[0-9]{3}-[A-Z]{2}$\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u57fa\u672c\u69cb\u6587\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u8907\u96d1\u306a\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3084\u3001\u9ad8\u5ea6\u306a\u30c7\u30fc\u30bf\u5206\u6790\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u57fa\u672c\u3092\u5fdc\u7528\u3057\u305f\u5b9f\u8df5\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c11\u3057\u7406\u89e3\u304c\u96e3\u3057\u3044\u90e8\u5206\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u5224\u5b9a\u3057\u305f\u7d50\u679c\u304c\u6b63\u3057\u3044\u30fb\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\u3002<br>\u3082\u3057\u304f\u306f\u3001\u9593\u9055\u3063\u3066\u3044\u308b\u30fb\u5b58\u5728\u3057\u3066\u306a\u3044\u3000\u305d\u306e\u7d50\u679c\u3092\u5224\u5b9a\u3059\u308b\u51e6\u7406\u3092\u884c\u306a\u3063\u3066\u304f\u308c\u308b\u3082\u306e\u304c\u3001REGEXP_CONTAINS\u95a2\u6570\u3068\u7406\u89e3\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-8\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">3. REGEXP_CONTAINS\u95a2\u6570\u306e\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-9\">\u57fa\u672c\u7684\u306a\u6587\u5b57\u5217\u691c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3057\u305f\u57fa\u672c\u7684\u306a\u6587\u5b57\u5217\u691c\u7d22\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306e\u57fa\u790e\u3068\u306a\u308b\u91cd\u8981\u306a\u30b9\u30ad\u30eb\u3067\u3059\u3002\u3053\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7279\u5b9a\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3084\u30d1\u30bf\u30fc\u30f3\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6587\u5b57\u5217\u691c\u7d22\u3084\u30d1\u30bf\u30fc\u30f3\u306b\u3042\u3063\u305f\u3082\u306e\u691c\u7d22\u5834\u9762\u306f\u591a\u3005\u3042\u308a\u307e\u3059\u3002GA4\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u307f\u3092\u62bd\u51fa\u3057\u305f\u308a\u3001\u30ad\u30e3\u30f3\u30da\u30fc\u30f3URL\u306e\u3042\u308b\u3068\u7279\u5b9a\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u542b\u307e\u308c\u3066\u3082\u306e\u3060\u3051\u3092\u5bfe\u8c61\u306b\u3057\u305f\u306a\u3069\u3001\u6d3b\u7528\u65b9\u6cd5\u306f\u69d8\u3005\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u672c\u7684\u306a\u6587\u5b57\u5217\u691c\u7d22\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e00\u822c\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u7279\u5b9a\u306e\u6587\u5b57\u5217\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092\u691c\u7d22\nREGEXP_CONTAINS(\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb, \"\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\")\n\n# \u8907\u6570\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u3044\u305a\u308c\u304b\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092\u691c\u7d22\nREGEXP_CONTAINS(\u5546\u54c1\u540d, \"\u30bb\u30fc\u30eb|\u30ad\u30e3\u30f3\u30da\u30fc\u30f3|\u7279\u4fa1\")\n\n# \u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u533a\u5225\u305b\u305a\u306b\u691c\u7d22\nREGEXP_CONTAINS(\u30e6\u30fc\u30b6\u30fc\u540d, \"(?i)admin\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u521d\u671f\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3084\u7c21\u5358\u306a\u5206\u985e\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u7279\u306b\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u6271\u3046\u969b\u306b\u3001\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u62bd\u51fa\u306e\u624b\u6bb5\u3068\u3057\u3066\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-10\">\u6570\u5024\u30d1\u30bf\u30fc\u30f3\u306e\u691c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u5024\u30c7\u30fc\u30bf\u306e\u691c\u7d22\u3084\u62bd\u51fa\u306f\u3001\u30d3\u30b8\u30cd\u30b9\u5206\u6790\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7279\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u6570\u5024\u30d1\u30bf\u30fc\u30f3\u3092\u6b63\u78ba\u306b\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-sango-paragraph-exclamation-alt wp-block-paragraph\">\u5909\u63db\u3059\u308b\u969b\u306b\u306f\u578b\u3092\u78ba\u8a8d\u3057\u305f\u4e0a\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee3\u8868\u7684\u306a\u6570\u5024\u30d1\u30bf\u30fc\u30f3\u306e\u691c\u7d22\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 3\u6841\u306e\u6570\u5b57\u3092\u691c\u7d22\nREGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9, \"^[0-9]{3}$\")\n\n# \u91d1\u984d\u5f62\u5f0f\uff083\u6841\u533a\u5207\u308a\u306e\u30ab\u30f3\u30de\u4ed8\u304d\uff09\u3092\u691c\u7d22\nREGEXP_CONTAINS(\u4fa1\u683c, \"^[0-9,]+\u5186$\")\n\n# \u96fb\u8a71\u756a\u53f7\u5f62\u5f0f\uff08XXX-XXXX-XXXX\uff09\u3092\u691c\u7d22\nREGEXP_CONTAINS(\u96fb\u8a71\u756a\u53f7, \"^[0-9]{3}-[0-9]{4}-[0-9]{4}$\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u30c1\u30a7\u30c3\u30af\u3084\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3082\u52b9\u7387\u7684\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-11\">\u8907\u96d1\u306a\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u306e\u691c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3088\u308a\u9ad8\u5ea6\u306a\u30c7\u30fc\u30bf\u5206\u6790\u3067\u306f\u3001\u8907\u96d1\u306a\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u306e\u691c\u7d22\u304c\u5fc5\u8981\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002REGEXP_CONTAINS\u95a2\u6570\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u8907\u96d1\u306a\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u96d1\u306a\u30d1\u30bf\u30fc\u30f3\u306e\u5bfe\u5fdc\u306b\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u8a18\u8ff0\u65b9\u6cd5\u306b\u306f\u57fa\u672c\u306e\u8a18\u8ff0\u30eb\u30fc\u30eb\u304c\u3042\u308a\u305d\u308c\u306b\u6cbf\u3063\u305f\u8a18\u8ff0\u304c\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ad8\u5ea6\u306a\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\u306e\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u5f62\u5f0f\u30c1\u30a7\u30c3\u30af\nREGEXP_CONTAINS(\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9, \"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$\")\n\n# URL\u306e\u5f62\u5f0f\u30c1\u30a7\u30c3\u30af\uff08http\u307e\u305f\u306fhttps\u3067\u59cb\u307e\u308b\uff09\nREGEXP_CONTAINS(URL, \"^(http|https):\/\/[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}(\/.*)?$\")\n\n# \u65e5\u4ed8\u5f62\u5f0f\uff08YYYY-MM-DD\uff09\u306e\u30c1\u30a7\u30c3\u30af\nREGEXP_CONTAINS(\u65e5\u4ed8, \"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306e\u6d3b\u7528\u4f8b\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u3067\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div id=\"id-b5a75bd1-d1fc-4ee4-81ad-8aadc8deb0a0\">\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30d1\u30bf\u30fc\u30f3<\/th><th>\u7528\u9014<\/th><th>\u5177\u4f53\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>^[A-Z]{2}\\d{4}$<\/td><td>\u5546\u54c1\u30b3\u30fc\u30c9\u691c\u8a3c<\/td><td>AB1234<\/td><\/tr><tr><td>^\\d{3}-\\d{4}$<\/td><td>\u90f5\u4fbf\u756a\u53f7\u691c\u8a3c<\/td><td>123-4567<\/td><\/tr><tr><td>^(0\\d{1,4}-\\d{1,4}-\\d{4})$<\/td><td>\u96fb\u8a71\u756a\u53f7\u691c\u8a3c<\/td><td>03-1234-5678<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u8907\u96d1\u306a\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u9ad8\u5ea6\u306a\u5206\u6790\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30d1\u30bf\u30fc\u30f3\u304c\u8907\u96d1\u306b\u306a\u308b\u307b\u3069\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u3082\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5177\u4f53\u7684\u306a\u6d3b\u7528\u4e8b\u4f8b\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7121\u6599\u3067GA4\u306e\u30ec\u30dd\u30fc\u30c8\u3082\u3054\u63d0\u4f9b\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/trial\/\" data-type=\"page\" data-id=\"488\">\u7121\u6599\u306eGA4\u30ec\u30dd\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-12\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">4. \u30c7\u30fc\u30bf\u5206\u6790\u3067\u306e\u6d3b\u7528\u4e8b\u4f8b<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-13\">\u30da\u30fc\u30b8\u30ab\u30c6\u30b4\u30ea\u306e\u5206\u985e\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3057\u305f\u30da\u30fc\u30b8\u30ab\u30c6\u30b4\u30ea\u306e\u5206\u985e\u306f\u3001Web\u30b5\u30a4\u30c8\u306e\u30a2\u30af\u30bb\u30b9\u5206\u6790\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002URL\u3084\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u57fa\u3065\u3044\u3066\u3001\u81ea\u52d5\u7684\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u9069\u5207\u306a\u30ab\u30c6\u30b4\u30ea\u306b\u632f\u308a\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u4e0b\u8a18\u306e\u4f8b\u306fGA4\u306e\u5206\u6790\u3067\u306f\u3088\u304f\u5b9f\u65bd\u3059\u308b\u624b\u6cd5\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u7406\u89e3\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<br>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5358\u4f4d\u306e\u5206\u6790\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u5206\u985e\u5225\u3067\u3069\u3053\u306e\u30da\u30fc\u30b8\u304c\u5f37\u304f\u3001\u3069\u3053\u306e\u30da\u30fc\u30b8\u306b\u8ab2\u984c\u304c\u3042\u308b\u304b\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5177\u4f53\u7684\u306a\u5b9f\u88c5\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN REGEXP_CONTAINS(Page path, \"^\/products\/\") THEN \"\u5546\u54c1\u30da\u30fc\u30b8\"\n  WHEN REGEXP_CONTAINS(Page path, \"^\/blog\/\") THEN \"\u30d6\u30ed\u30b0\u8a18\u4e8b\"\n  WHEN REGEXP_CONTAINS(Page path, \"^\/news\/[0-9]{4}\/\") THEN \"\u30cb\u30e5\u30fc\u30b9\"\n  WHEN REGEXP_CONTAINS(Page path, \"^\/support\/\") THEN \"\u30b5\u30dd\u30fc\u30c8\"\n  ELSE \"\u305d\u306e\u4ed6\"\nEND as \u30da\u30fc\u30b8\u30ab\u30c6\u30b4\u30ea<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306a\u5206\u985e\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5206\u6790\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306e\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u6570\u306e\u96c6\u8a08<\/li>\n\n\n\n<li>\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7\u5225\u306e\u6ede\u5728\u6642\u9593\u5206\u6790<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u30fc\u306e\u95b2\u89a7\u30d1\u30bf\u30fc\u30f3\u306e\u628a\u63e1<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-14\">\u88fd\u54c1\u30b0\u30eb\u30fc\u30d7\u306e\u81ea\u52d5\u5206\u985e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u88fd\u54c1\u30c7\u30fc\u30bf\u306e\u5206\u6790\u306b\u304a\u3044\u3066\u3001REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u88fd\u54c1\u30b3\u30fc\u30c9\u3084SKU\u306b\u57fa\u3065\u3044\u305f\u52b9\u7387\u7684\u306a\u5206\u985e\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5927\u91cf\u306e\u88fd\u54c1\u30c7\u30fc\u30bf\u3092\u8fc5\u901f\u304b\u3064\u6b63\u78ba\u306b\u5206\u985e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u8a18\u306e\u4f8b\u306e\u30d1\u30bf\u30fc\u30f3\u306f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u5206\u6790\u3057\u305f\u6642\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306b\u3001\u88fd\u54c1\u30b3\u30fc\u30c9\u306b\u57fa\u3065\u304f\u5206\u985e\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN REGEXP_CONTAINS(\u88fd\u54c1\u30b3\u30fc\u30c9, \"^A[0-9]{3}\") THEN \"\u5bb6\u96fb\u88fd\u54c1\"\n  WHEN REGEXP_CONTAINS(\u88fd\u54c1\u30b3\u30fc\u30c9, \"^B[0-9]{3}\") THEN \"\u30ad\u30c3\u30c1\u30f3\u7528\u54c1\"\n  WHEN REGEXP_CONTAINS(\u88fd\u54c1\u30b3\u30fc\u30c9, \"^C[0-9]{3}\") THEN \"\u30a4\u30f3\u30c6\u30ea\u30a2\"\n  WHEN REGEXP_CONTAINS(\u88fd\u54c1\u30b3\u30fc\u30c9, \"^D[0-9]{3}\") THEN \"\u30a2\u30a6\u30c8\u30c9\u30a2\u7528\u54c1\"\n  ELSE \"\u305d\u306e\u4ed6\u5546\u54c1\"\nEND as \u88fd\u54c1\u30ab\u30c6\u30b4\u30ea<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5206\u985e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5206\u6790\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u30ab\u30c6\u30b4\u30ea\u5225\u306e\u58f2\u4e0a\u96c6\u8a08<\/li>\n\n\n\n<li>\u88fd\u54c1\u30e9\u30a4\u30f3\u5225\u306e\u5728\u5eab\u7ba1\u7406<\/li>\n\n\n\n<li>\u5546\u54c1\u30b0\u30eb\u30fc\u30d7\u3054\u3068\u306e\u9700\u8981\u4e88\u6e2c<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-15\">\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u5206\u6790\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u3001\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u8a73\u7d30\u306a\u5206\u6790\u306b\u3082\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u60c5\u5831\u3084\u30ea\u30d5\u30a1\u30e9\u30fcURL\u306a\u3069\u306e\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u304b\u3089\u3001\u6709\u7528\u306a\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u5206\u6790\u306e\u5b9f\u88c5\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30c7\u30d0\u30a4\u30b9\u30bf\u30a4\u30d7\u306e\u5224\u5b9a\nCASE\n  WHEN REGEXP_CONTAINS(User Agent, \"iPhone|iPad|iPod\") THEN \"iOS\"\n  WHEN REGEXP_CONTAINS(User Agent, \"Android\") THEN \"Android\"\n  WHEN REGEXP_CONTAINS(User Agent, \"Windows\") THEN \"PC\"\n  ELSE \"\u305d\u306e\u4ed6\"\nEND as \u30c7\u30d0\u30a4\u30b9\u30bf\u30a4\u30d7\n\n# \u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u7d4c\u7531\u306e\u30a2\u30af\u30bb\u30b9\u5206\u985e\nCASE\n  WHEN REGEXP_CONTAINS(Referrer, \"google\\\\.com|google\\\\.co\\\\.jp\") THEN \"Google\"\n  WHEN REGEXP_CONTAINS(Referrer, \"yahoo\\\\.co\\\\.jp\") THEN \"Yahoo\"\n  WHEN REGEXP_CONTAINS(Referrer, \"bing\\\\.com\") THEN \"Bing\"\n  ELSE \"\u305d\u306e\u4ed6\"\nEND as \u53c2\u7167\u5143<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5206\u6790\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a4\u30f3\u30b5\u30a4\u30c8\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u30c7\u30d0\u30a4\u30b9\u5225\u306e\u30e6\u30fc\u30b6\u30fc\u884c\u52d5\u5206\u6790<\/li>\n\n\n\n<li>\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u5225\u306e\u6d41\u5165\u30d1\u30bf\u30fc\u30f3\u628a\u63e1<\/li>\n\n\n\n<li>\u30a2\u30af\u30bb\u30b9\u7d4c\u8def\u306e\u6700\u9069\u5316\u691c\u8a0e<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-16\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">5. CASE\u6587\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30c6\u30af\u30cb\u30c3\u30af<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-17\">\u8907\u5408\u6761\u4ef6\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3068CASE\u6587\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u67d4\u8edf\u3067\u9ad8\u5ea6\u306a\u30c7\u30fc\u30bf\u5206\u985e\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001\u8907\u96d1\u306a\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30c7\u30fc\u30bf\u3092\u5206\u985e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CASE\u6587\u306f\u5225\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CASE\u6587\u3068\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\u65b9\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN REGEXP_CONTAINS(\u5546\u54c1\u540d, \"(?i)(\u9650\u5b9a|\u7279\u5225).*\u30bb\u30fc\u30eb\") THEN \"\u30bb\u30fc\u30eb\u5546\u54c1\"\n  WHEN REGEXP_CONTAINS(\u5546\u54c1\u540d, \"(?i)\u65b0\u5546\u54c1|\u65b0\u767a\u58f2\") AND \n       REGEXP_CONTAINS(\u767a\u58f2\u65e5, \"^2024\") THEN \"\u65b0\u88fd\u54c1\"\n  WHEN REGEXP_CONTAINS(\u5546\u54c1\u540d, \"(?i)\u5728\u5eab\u51e6\u5206|\u30a2\u30a6\u30c8\u30ec\u30c3\u30c8\") OR\n       \u5728\u5eab\u6570 &lt; 10 THEN \"\u5728\u5eab\u51e6\u5206\u54c1\"\n  ELSE \"\u901a\u5e38\u5546\u54c1\"\nEND as \u5546\u54c1\u533a\u5206<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306a\u8907\u5408\u6761\u4ef6\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u7d30\u304b\u306a\u5546\u54c1\u5206\u985e\u3084\u5206\u6790\u304c\u53ef\u80fd\u3068\u306a\u308a\u3001\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u65bd\u7b56\u306e\u52b9\u679c\u6e2c\u5b9a\u3084\u5728\u5eab\u7ba1\u7406\u306e\u52b9\u7387\u5316\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-18\">\u9867\u5ba2\u30bb\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8cfc\u5165\u30d1\u30bf\u30fc\u30f3\u3084\u4f1a\u54e1\u30b9\u30c6\u30fc\u30bf\u30b9\u306b\u57fa\u3065\u304f\u9867\u5ba2\u5206\u985e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN REGEXP_CONTAINS(\u8cfc\u5165\u5c65\u6b74, \"\u96fb\u5316\u88fd\u54c1\") AND\n       REGEXP_CONTAINS(\u4f1a\u54e1\u30b9\u30c6\u30fc\u30bf\u30b9, \"^VIP\") AND\n       \u7dcf\u8cfc\u5165\u91d1\u984d &gt; 100000 THEN \"\u30cf\u30a4\u30d0\u30ea\u30e5\u30fc\u9867\u5ba2\"\n  WHEN REGEXP_CONTAINS(\u8cfc\u5165\u5c65\u6b74, \"(?i)(\u98df\u54c1|\u65e5\u7528\u54c1)\") AND\n       \u8cfc\u5165\u983b\u5ea6 &gt; 5 THEN \"\u5b9a\u671f\u8cfc\u5165\u9867\u5ba2\"\n  WHEN REGEXP_CONTAINS(\u6700\u7d42\u8cfc\u5165\u65e5, \"2023-12\") AND\n       REGEXP_CONTAINS(\u9867\u5ba2\u30b9\u30c6\u30fc\u30bf\u30b9, \"\u901a\u5e38\") THEN \"\u96e2\u8131\u30ea\u30b9\u30af\u9867\u5ba2\"\n  ELSE \"\u4e00\u822c\u9867\u5ba2\"\nEND as \u9867\u5ba2\u30bb\u30b0\u30e1\u30f3\u30c8<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-19\">NULL\u5024\u5bfe\u51e6\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NULL\u5024\u3092\u9069\u5207\u306b\u51e6\u7406\u3059\u308b\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN \u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9 IS NULL THEN \"\u30c7\u30fc\u30bf\u306a\u3057\"\n  WHEN REGEXP_CONTAINS(IFNULL(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \"\"), \"\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\") \n    THEN \"\u8a72\u5f53\u30c7\u30fc\u30bf\"\n  ELSE \"\u975e\u8a72\u5f53\u30c7\u30fc\u30bf\"\nEND as \u5206\u985e\u7d50\u679c<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-20\">\u8907\u6570\u6761\u4ef6\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u6570\u306e\u6761\u4ef6\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u969b\u306f\u3001\u8ad6\u7406\u6f14\u7b97\u5b50\uff08AND, OR\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u3088\u308a\u8a73\u7d30\u306a\u6761\u4ef6\u5206\u5c90\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u7279\u6027\u3092\u3088\u308a\u6b63\u78ba\u306b\u53cd\u6620\u3057\u305f\u5206\u6790\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">case\u6587\u3068\u8ad6\u7406\u6f14\u7b97\u5b50\uff08AND, OR\uff09\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8907\u6570\u306e\u30d1\u30bf\u30fc\u30f3\u306e\u6761\u4ef6\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u5b9f\u52d9\u3067\u306f1\u3064\u306e\u6761\u4ef6\u3067\u306a\u304f\u3001\u8907\u6570\u306e\u6761\u4ef6\u306b\u30de\u30c3\u30c1\u3057\u305f\u30c7\u30fc\u30bf\u3092\u5206\u6790\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5206\u985e\u5206\u3051\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u30c7\u30fc\u30bf\u3092\u898b\u308b\u305f\u3081\u306b\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u6570\u6761\u4ef6\u306e\u5b9f\u88c5\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8907\u6570\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u9867\u5ba2\u30bb\u30b0\u30e1\u30f3\u30c8\u5206\u985e\nCASE\n  WHEN REGEXP_CONTAINS(\u8cfc\u5165\u5c65\u6b74, \"\u96fb\u5316\u88fd\u54c1\") AND\n       REGEXP_CONTAINS(\u4f1a\u54e1\u30b9\u30c6\u30fc\u30bf\u30b9, \"^VIP\") AND\n       \u7dcf\u8cfc\u5165\u91d1\u984d &gt; 100000 THEN \"\u30cf\u30a4\u30d0\u30ea\u30e5\u30fc\u9867\u5ba2\"\n  WHEN REGEXP_CONTAINS(\u8cfc\u5165\u5c65\u6b74, \"(?i)(\u98df\u54c1|\u65e5\u7528\u54c1)\") AND\n       \u8cfc\u5165\u983b\u5ea6 &gt; 5 THEN \"\u5b9a\u671f\u8cfc\u5165\u9867\u5ba2\"\n  WHEN REGEXP_CONTAINS(\u6700\u7d42\u8cfc\u5165\u65e5, \"2023-12\") AND\n       REGEXP_CONTAINS(\u9867\u5ba2\u30b9\u30c6\u30fc\u30bf\u30b9, \"\u901a\u5e38\") THEN \"\u96e2\u8131\u30ea\u30b9\u30af\u9867\u5ba2\"\n  ELSE \"\u4e00\u822c\u9867\u5ba2\"\nEND as \u9867\u5ba2\u30bb\u30b0\u30e1\u30f3\u30c8<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-21\">\u30a8\u30e9\u30fc\u51e6\u7406\u3068\u6ce8\u610f\u70b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u9069\u5207\u306a\u30a8\u30e9\u30fc\u51e6\u7406\u3068\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306b\u4e3b\u306a\u6ce8\u610f\u70b9\u3068\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NULL\u5024\u306e\u51e6\u7406<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE\n  WHEN \u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9 IS NULL THEN \"\u30c7\u30fc\u30bf\u306a\u3057\"\n  WHEN REGEXP_CONTAINS(IFNULL(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \"\"), \"\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\") \n    THEN \"\u8a72\u5f53\u30c7\u30fc\u30bf\"\n  ELSE \"\u975e\u8a72\u5f53\u30c7\u30fc\u30bf\"\nEND as \u5206\u985e\u7d50\u679c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u8907\u96d1\u306a\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306f\u51e6\u7406\u901f\u5ea6\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059<\/li>\n\n\n\n<li>\u983b\u7e41\u306b\u4f7f\u7528\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306f\u8a08\u7b97\u6e08\u307f\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u3057\u3066\u4e8b\u524d\u306b\u6e96\u5099\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059<\/li>\n\n\n\n<li>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u6d3b\u7528\u3092\u691c\u8a0e\u3057\u3001\u30af\u30a8\u30ea\u306e\u5b9f\u884c\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u70b9\u306b\u6ce8\u610f\u3092\u6255\u3046\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5b9a\u3057\u305f\u5206\u6790\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5177\u4f53\u7684\u306a\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306bnull\u306e\u51e6\u7406\u306f\u5fc5\u9808\u306f\u3067\u3059\u3002null\u304c\u3042\u308b\u3068null\u306b\u306a\u3063\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306f\u9664\u5916\u3055\u308c\u308b\u3082\u3057\u304f\u306f\u3001\u51e6\u7406\u306e\u5bfe\u8c61\u306b\u306a\u3089\u306a\u3044\u305f\u3081\u5206\u6790\u3092\u884c\u3046\u4e0a\u3067\u30c7\u30fc\u30bf\u306e\u6b20\u843d\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Looker studio\u306e\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3067\u304a\u56f0\u308a\u306e\u65b9\u306f\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/contact\/\" data-type=\"page\" data-id=\"40\">\u3054\u76f8\u8ac7\u306f\u3053\u3061\u3089\u304b\u3089<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7121\u6599\u3067GA4\u306e\u30ec\u30dd\u30fc\u30c8\u3082\u3054\u63d0\u4f9b\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/trial\/\" data-type=\"page\" data-id=\"488\">\u7121\u6599\u306eGA4\u30ec\u30dd\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-22\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">6. \u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-23\">\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u3068\u89e3\u6c7a\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u767a\u751f\u3059\u308b\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u3001\u305d\u306e\u539f\u56e0\u3068\u5177\u4f53\u7684\u306a\u89e3\u6c7a\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u6b63\u3057\u3044\u5bfe\u51e6\u6cd5\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u5206\u6790\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u983b\u7e41\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3068\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30a8\u30e9\u30fc1: \u7121\u52b9\u306a\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\n-- \u8aa4\u3063\u305f\u5b9f\u88c5\nREGEXP_CONTAINS(\u30d5\u30a3\u30fc\u30eb\u30c9\u540d, \"[\") \/\/ \u4e0d\u5b8c\u5168\u306a\u89d2\u62ec\u5f27\n\n-- \u6b63\u3057\u3044\u5b9f\u88c5\nREGEXP_CONTAINS(\u30d5\u30a3\u30fc\u30eb\u30c9\u540d, \"\\\\[\") \/\/ \u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3092\u8ffd\u52a0\n\n# \u30a8\u30e9\u30fc2: \u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u4e0d\u4e00\u81f4\n-- \u8aa4\u3063\u305f\u5b9f\u88c5\nREGEXP_CONTAINS(\u65e5\u672c\u8a9e\u30d5\u30a3\u30fc\u30eb\u30c9, \"\u6e2c\u5b9a\u5024\")\n\n-- \u6b63\u3057\u3044\u5b9f\u88c5\nREGEXP_CONTAINS(CAST(\u65e5\u672c\u8a9e\u30d5\u30a3\u30fc\u30eb\u30c9 AS STRING), \"\u6e2c\u5b9a\u5024\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30e9\u30fc\u306e\u4e88\u9632\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u5bfe\u7b56\u304c\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u30c6\u30b9\u30c8\u3092\u4e8b\u524d\u306b\u5b9f\u65bd\u3059\u308b<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u578b\u306e\u4e00\u8cab\u6027\u3092\u78ba\u4fdd\u3059\u308b<\/li>\n\n\n\n<li>\u7279\u6b8a\u6587\u5b57\u306e\u9069\u5207\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3092\u884c\u3046<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-24\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">7. \u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3068Tips<\/span><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-25\">\u52b9\u7387\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u52b9\u7387\u7684\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u9069\u5207\u306a\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306e\u7cbe\u5ea6\u5411\u4e0a\u3068\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u78ba\u4fdd\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u52b9\u7387\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08\u306e\u57fa\u672c\u539f\u5247\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30b7\u30f3\u30d7\u30eb\u3067\u660e\u78ba\u306a\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08\nCASE\n  WHEN REGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9, \"^[A-Z]{2}[0-9]{4}$\") THEN\n    -- \u6a19\u6e96\u7684\u306a\u5546\u54c1\u30b3\u30fc\u30c9\u5f62\u5f0f\uff08\u4f8b\uff1aAB1234\uff09\n    \"\u6a19\u6e96\u5546\u54c1\"\n  WHEN REGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9, \"^[A-Z]{2}[0-9]{4}-[A-Z]$\") THEN\n    -- \u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u5546\u54c1\u30b3\u30fc\u30c9\u5f62\u5f0f\uff08\u4f8b\uff1aAB1234-S\uff09\n    \"\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u5546\u54c1\"\n  ELSE\n    \"\u305d\u306e\u4ed6\"\nEND as \u5546\u54c1\u5206\u985e<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306a\u30d1\u30bf\u30fc\u30f3\u8a2d\u8a08\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3057\u3001\u5c06\u6765\u7684\u306a\u4fee\u6b63\u3084\u62e1\u5f35\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316\u306b\u3082\u8ca2\u732e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-26\">\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u5411\u4e0a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a08\u7b97\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u72ec\u81ea\u306e\u8a08\u7b97\u5f0f\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u547d\u540d\u898f\u5247\u306a\u3069\u306e\u30eb\u30fc\u30eb\u3084\u8a18\u8ff0\u306e\u9806\u756a\u306a\u3069\u3092\u6c7a\u3081\u3066\u304a\u304f\u3068\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u306b\u306a\u308a\u3001\u5909\u66f4\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9577\u671f\u7684\u306a\u904b\u7528\u3092\u898b\u636e\u3048\u305f\u5834\u5408\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u8a2d\u8a08\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002REGEXP_CONTAINS\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u3082\u3001\u5c06\u6765\u306e\u4fdd\u5b88\u3084\u6539\u4fee\u3092\u8003\u616e\u3057\u305f\u5b9f\u88c5\u3092\u5fc3\u304c\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306e\u5b9f\u88c5\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5171\u901a\u30d1\u30bf\u30fc\u30f3\u306e\u5b9a\u7fa9\u3068\u518d\u5229\u7528\nWITH \u30d1\u30bf\u30fc\u30f3\u5b9a\u7fa9 AS (\n  SELECT\n    \"^[A-Z]{2}\" as \u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9,\n    \"[0-9]{4}\" as \u6570\u5024\u90e8\u5206,\n    \"-[A-Z]$\" as \u30b5\u30d5\u30a3\u30c3\u30af\u30b9\n),\n\u5546\u54c1\u5206\u985e AS (\n  SELECT\n    \u5546\u54c1\u30b3\u30fc\u30c9,\n    CASE\n      WHEN REGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9, \n           CONCAT(\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9, \u6570\u5024\u90e8\u5206)) THEN \"\u6a19\u6e96\u5546\u54c1\"\n      WHEN REGEXP_CONTAINS(\u5546\u54c1\u30b3\u30fc\u30c9,\n           CONCAT(\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9, \u6570\u5024\u90e8\u5206, \u30b5\u30d5\u30a3\u30c3\u30af\u30b9)) THEN \"\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u5546\u54c1\"\n      ELSE \"\u305d\u306e\u4ed6\"\n    END as \u5206\u985e\n  FROM \u5546\u54c1\u30de\u30b9\u30bf\n  CROSS JOIN \u30d1\u30bf\u30fc\u30f3\u5b9a\u7fa9\n)\nSELECT * FROM \u5546\u54c1\u5206\u985e<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-27\">\u5b9f\u52d9\u3067\u306e\u6d3b\u7528\u30dd\u30a4\u30f3\u30c8<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u52d9\u306b\u304a\u3044\u3066REGEXP_CONTAINS\u95a2\u6570\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30d3\u30b8\u30cd\u30b9\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u305f\u9069\u5207\u306a\u5b9f\u88c5\u304c\u91cd\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u5b9f\u52d9\u3067\u306e\u4e3b\u8981\u306a\u6d3b\u7528\u30dd\u30a4\u30f3\u30c8\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30fc\u30bf\u54c1\u8cea\u7ba1\u7406\u3078\u306e\u5fdc\u7528<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5165\u529b\u30c7\u30fc\u30bf\u306e\u54c1\u8cea\u30c1\u30a7\u30c3\u30af\nSELECT\n  \u30d5\u30a3\u30fc\u30eb\u30c9\u540d,\n  COUNT(*) as \u30ec\u30b3\u30fc\u30c9\u6570,\n  SUM(CASE WHEN REGEXP_CONTAINS(\u30d5\u30a3\u30fc\u30eb\u30c9\u5024, \u671f\u5f85\u30d1\u30bf\u30fc\u30f3) THEN 1 ELSE 0 END) as \u6709\u52b9\u30ec\u30b3\u30fc\u30c9\u6570,\n  SUM(CASE WHEN NOT REGEXP_CONTAINS(\u30d5\u30a3\u30fc\u30eb\u30c9\u5024, \u671f\u5f85\u30d1\u30bf\u30fc\u30f3) THEN 1 ELSE 0 END) as \u7121\u52b9\u30ec\u30b3\u30fc\u30c9\u6570\nFROM \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\nGROUP BY \u30d5\u30a3\u30fc\u30eb\u30c9\u540d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306a\u5b9f\u88c5\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u696d\u52d9\u6539\u5584\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-sango-list-check\">\n<li>\u30c7\u30fc\u30bf\u5165\u529b\u30a8\u30e9\u30fc\u306e\u65e9\u671f\u767a\u898b\u3068\u4fee\u6b63<\/li>\n\n\n\n<li>\u30ec\u30dd\u30fc\u30c8\u54c1\u8cea\u306e\u5411\u4e0a<\/li>\n\n\n\n<li>\u5206\u6790\u7cbe\u5ea6\u306e\u6539\u5584<\/li>\n\n\n\n<li>\u696d\u52d9\u52b9\u7387\u306e\u5411\u4e0a<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306e\u52b9\u679c\u7684\u306a\u6d3b\u7528\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u696d\u52d9\u306e\u8cea\u3092\u5927\u304d\u304f\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u305f\u5b9f\u88c5\u65b9\u6cd5\u3084\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u53c2\u8003\u306b\u3001\u81ea\u8eab\u306e\u696d\u52d9\u306b\u6700\u9069\u306a\u6d3b\u7528\u65b9\u6cd5\u3092\u898b\u3064\u3051\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7121\u6599\u3067GA4\u306e\u30ec\u30dd\u30fc\u30c8\u3082\u3054\u63d0\u4f9b\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/trial\/\" data-type=\"page\" data-id=\"488\">\u7121\u6599\u306eGA4\u30ec\u30dd\u30fc\u30c8\u306f\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-28\"><span class=\"sgb-heading__inner sgb-heading--type1 with-icon\" style=\"background-color:transparent;border-color:transparent;font-size:1.5em\"><i class=\"fa fa-check\" style=\"color:var(--wp--preset--color--sango-main)\"><\/i><span class=\"sgb-heading__text\" style=\"color:#333\">REGEXP_CONTAINS\u306e\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09<\/span><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306e\u4f7f\u7528\u306b\u95a2\u3057\u3066\u3001\u3088\u304f\u5bc4\u305b\u3089\u308c\u308b\u8cea\u554f\u3068\u305d\u306e\u56de\u7b54\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u5b9f\u52d9\u3067\u306e\u6d3b\u7528\u306b\u5f79\u7acb\u3064\u60c5\u5831\u3092\u63d0\u4f9b\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-29\">REGEXP_CONTAINS\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">REGEXP_CONTAINS\u95a2\u6570\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u5185\u3067\u7279\u5b9a\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u7d22\u3059\u308b\u95a2\u6570\u3067\u3059\u3002\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>REGEXP_CONTAINS(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \"\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u95a2\u6570\u306f\u3001\u30d1\u30bf\u30fc\u30f3\u304c\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u306bTRUE\u3001\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u5834\u5408\u306bFALSE\u3092\u8fd4\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5546\u54c1\u540d\u306b\u300c\u30bb\u30fc\u30eb\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>REGEXP_CONTAINS(\u5546\u54c1\u540d, \"\u30bb\u30fc\u30eb\")<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-30\">\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u533a\u5225\u305b\u305a\u306b\u691c\u7d22\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u533a\u5225\u305b\u305a\u306b\u691c\u7d22\u3059\u308b\u5834\u5408\u306f\u3001(?i)\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u5177\u4f53\u7684\u306a\u5b9f\u88c5\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>REGEXP_CONTAINS(\u691c\u7d22\u5bfe\u8c61\u30d5\u30a3\u30fc\u30eb\u30c9, \"(?i)\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u300cSALE\u300d\u300cSale\u300d\u300csale\u300d\u306a\u3069\u306e\u8868\u8a18\u306e\u9055\u3044\u3092\u533a\u5225\u305b\u305a\u306b\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-31\">\u8907\u6570\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u540c\u6642\u306b\u691c\u7d22\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u6570\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u540c\u6642\u306b\u691c\u7d22\u3059\u308b\u5834\u5408\u306f\u3001\u30d1\u30a4\u30d7\u8a18\u53f7\uff08|\uff09\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u5177\u4f53\u4f8b\u3092\u793a\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>REGEXP_CONTAINS(\u5546\u54c1\u30ab\u30c6\u30b4\u30ea, \"\u96fb\u5316\u88fd\u54c1|\u5bb6\u5177|\u30a4\u30f3\u30c6\u30ea\u30a2\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u3044\u305a\u308c\u304b\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-32\">Looker Studio\u306e\u51e6\u7406\u901f\u5ea6\u304c\u9045\u3044\u5834\u5408\u306e\u5bfe\u7b56\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a08\u7b97\u6e08\u307f\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u6d3b\u7528\u3001\u6761\u4ef6\u306e\u9806\u5e8f\u6700\u9069\u5316\u3001\u4e0d\u8981\u306a\u8907\u96d1\u30d1\u30bf\u30fc\u30f3\u306e\u7c21\u7565\u5316\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Looker studio\u306e\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3067\u304a\u56f0\u308a\u306e\u65b9\u306f\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/inno-mark.jp\/datavista\/contact\/\" data-type=\"page\" data-id=\"40\">\u3054\u76f8\u8ac7\u306f\u3053\u3061\u3089\u304b\u3089<\/a><\/p>\n\n\n<div class=\"\"><div class=\"sgb-content-block post-4920 js-sgb-content-block\" data-id=\"4920\">\n<p class=\"wp-block-paragraph\">\u69d8\u3005\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u53d6\u308a\u6271\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u7528\u9014\u3084\u30b7\u30fc\u30f3\u306b\u5408\u308f\u305b\u3066\u3001\u6700\u9069\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3044\u305f\u3060\u304f\u3053\u3068\u3067\u3001\u65e5\u3005\u306e\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3084\u30c7\u30fc\u30bf\u5206\u6790\u306e\u304a\u5f79\u306b\u7acb\u3061\u307e\u3059\uff01<br><a href=\"https:\/\/inno-mark.jp\/datavista\/report\/\" data-type=\"page\" data-id=\"37\">\u30ec\u30dd\u30fc\u30c8\u4e00\u89a7\u306f\u3053\u3061\u3089<\/a><\/p>\n<\/div><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u95a2\u9023\u8a18\u4e8b<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/looker-studio-sum\/\">Looker Studio\u3067\u5408\u8a08\u3092\u51fa\u3059\u306b\u306f\uff1fSUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3068\u8a08\u7b97\u30d5\u30a3\u30fc\u30eb\u30c9\u8a2d\u5b9a<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/looker-studio-if-function\/\">\u3010\u30b5\u30f3\u30d7\u30eb\u4ed8\u304d\u3011Looker Studio IF\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff5c\u6761\u4ef6\u5206\u5c90\u3067\u9ad8\u5ea6\u306a\u8a08\u7b97\u30d5\u30a3\u30fc\u30eb\u30c9\u4f5c\u6210<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/looker-studio-case\/\">Looker Studio CASE\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u521d\u5fc3\u8005\u3067\u30825\u5206\u3067\u30de\u30b9\u30bf\u30fc<\/a><\/p>\n\n\n<div class=\"\"><div class=\"sgb-content-block post-8805 js-sgb-content-block\" data-id=\"8805\">\n<p class=\"wp-block-paragraph\"><strong><span class=\"keiko_yellow\">\u7121\u6599\u63d0\u4f9b\u4e2d\u30ec\u30dd\u30fc\u30c8<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/ga4-and-search-console-report\/\" data-type=\"link\" data-id=\"https:\/\/inno-mark.jp\/datavista\/blog\/ga4-and-search-console-report\/\">\u3010\u7121\u6599\u7248\u3011GA4\u3068\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u30ec\u30dd\u30fc\u30c8\u516852P\u306e\u7121\u6599\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/lead-dashboard\/\" data-type=\"link\" data-id=\"https:\/\/inno-mark.jp\/datavista\/blog\/lead-dashboard\/\">\u3010\u7121\u6599\u3011Looker Studio\u3067\u55b6\u696d\u30ea\u30fc\u30c9\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u69cb\u7bc9\uff5c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u5b8c\u5168\u89e3\u8aac<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/inno-mark.jp\/datavista\/blog\/youtube-temp\/\" data-type=\"link\" data-id=\"https:\/\/inno-mark.jp\/datavista\/blog\/youtube-temp\/\">\u3010\u5b8c\u5168\u7121\u6599\u3011YouTube\u00d7Looker Studio\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff5c5\u30da\u30fc\u30b8\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u5206\u6790\u3092\u5b8c\u5168\u81ea\u52d5\u5316<\/a><\/p>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Looker Studio\u3067\u30c7\u30fc\u30bf\u3092\u5206\u6790\u3057\u3066\u3044\u308b\u3068\u3001\u300cURL\u306e\u7279\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u3092\u62bd\u51fa\u3057\u3066\u5206\u6790\u3057\u305f\u3044\u300d\u300cGA4\u306e\u30da\u30fc\u30b8\u30d1\u30b9\u304b\u3089\u30b3\u30f3\u30c6\u30f3\u30c4\u30ab\u30c6\u30b4\u30ea\u3092\u81ea\u52d5\u5206\u985e\u3057\u305f\u3044\u300d\u300c\u5546\u54c1\u30b3\u30fc\u30c9\u306e\u5148\u982d\u6587\u5b57\u3067\u88fd\u54c1\u30b0\u30eb\u30fc\u30d7\u3092\u632f\u308a\u5206\u3051\u305f\u3044\u300d\u3068\u3044 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":4000,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3910","post","type-post","status-publish","format-standard","has-post-thumbnail","category-looker-studio-explanation","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/posts\/3910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/comments?post=3910"}],"version-history":[{"count":128,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/posts\/3910\/revisions"}],"predecessor-version":[{"id":10811,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/posts\/3910\/revisions\/10811"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/media\/4000"}],"wp:attachment":[{"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/media?parent=3910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/categories?post=3910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inno-mark.jp\/datavista\/wp-json\/wp\/v2\/tags?post=3910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}