{"id":12642,"date":"2022-12-15T10:00:00","date_gmt":"2022-12-15T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=12642"},"modified":"2022-12-14T17:02:19","modified_gmt":"2022-12-14T08:02:19","slug":"%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e5%9f%ba%e7%a4%8e1","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/12642","title":{"rendered":"\u6b63\u898f\u8868\u73fe\u57fa\u790e(1)"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30c4\u30fc\u30eb\u3067\u6d3b\u7528\u3067\u304d\u308b\u6b63\u898f\u8868\u73fe\u306e\u57fa\u790e\u6587\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<!--more-->\n\n\n\n<h4><br>\u6b63\u898f\u8868\u73fe\u3068\u306f<\/h4>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u306f\u3001Regular Expression (RegEx\u3068\u7565\u3055\u308c\u308b)\u306e\u65e5\u672c\u8a9e\u8a33\u3067\u3001<br>Java, PHP, JavaScript, Python, Linux\u306eGrep\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30c4\u30fc\u30eb\u3067String\u306e\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u51e6\u7406\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<br>\u4f8b\u3068\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u96fb\u8a71\u756a\u53f7\u3001\u90f5\u4fbf\u756a\u53f7\u3001\u306a\u3069\u3001\u30d1\u30bf\u30fc\u30f3\u5316\u3055\u308c\u305f\u6587\u5b57\u5217\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u5224\u5b9a\u306b\u4f7f\u7528\u3057\u305f\u308a\u3001\u30c6\u30ad\u30b9\u30c8\u691c\u7d22\u3084\u30c6\u30ad\u30b9\u30c8\u7f6e\u63db\u306e\u6761\u4ef6\u8a2d\u5b9a\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4>\u6b63\u898f\u8868\u73fe\u306e\u4f8b<\/h4>\n\n\n\n<p>\u4f8b\u3048\u3070\u5165\u529b\u3055\u308c\u305f\u96fb\u5b50\u30e1\u30fc\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b\u3092<br>\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u306b\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>(\u8aac\u660e\u3092\u7c21\u5358\u306b\u3059\u308b\u305f\u3081\u306b\u57fa\u672c\u6761\u4ef6\u306e\u307f\u3092\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002\u53b3\u5bc6\u306a\u96fb\u5b50\u30e1\u30fc\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30c1\u30a7\u30c3\u30af\u3092\u304a\u3053\u306a\u3046\u306b\u306f\u3055\u3089\u306b\u591a\u304f\u306e\u6761\u4ef6\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059)<\/p>\n\n\n\n<p>\u30fb\u534a\u89d2\u82f1\u6570\u304a\u3088\u3073\u300c_\u300d\u300c+\u300d\u300c-\u300d\u4ee5\u5916\u306e\u8a18\u53f7\u304c\u4f7f\u308f\u308c\u3066\u3044\u306a\u3044\u3053\u3068<br>\u30fb@\u304c\u3072\u3068\u3064\u306e\u307f\u542b\u307e\u308c\u308b\u3053\u3068<br>\u30fb@\u306e\u524d\u306b1\u6587\u5b57\u4ee5\u4e0a\u306e\u6587\u5b57\u304c\u3042\u308b\u3053\u3068<br>\u30fb@\u306e\u5f8c\u308d\u306b3\u6587\u5b57\u4ee5\u4e0a\u306e\u6587\u5b57\u304c\u3042\u308b\u3053\u3068<br>\u30fb@\u306e\u5f8c\u308d\u306b\u300c.\u300d(\u30c9\u30c3\u30c8)\u304c\u542b\u307e\u308c\u308b\u3053\u3068<br>\u30fb\u300c.\u300d(\u30c9\u30c3\u30c8)\u306e\u524d\u306b1\u6587\u5b57\u4ee5\u4e0a\u306e\u6587\u5b57\u304c\u3042\u308b\u3053\u3068<br>\u30fb\u300c.\u300d(\u30c9\u30c3\u30c8)\u306e\u5f8c\u308d\u306b1\u6587\u5b57\u4ee5\u4e0a\u306e\u6587\u5b57\u304c\u3042\u308b\u3053\u3068<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u6761\u4ef6\u306b\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3001\u3044\u3061\u304b\u3089\u4f5c\u6210\u3059\u308b\u306e\u306ffor\u30eb\u30fc\u30d7\u30671\u6587\u5b57\u305a\u3064\u53d6\u308a\u51fa\u3057\u3066if\u6587\u3067\u4e0a\u8a18\u306e\u5224\u5b9a\u6761\u4ef6\u3092\u3072\u3068\u3064\u305a\u3064\u30af\u30ea\u30a2\u3059\u308b\u51e6\u7406\u306e\u4f5c\u6210\u3092\u304a\u3053\u306a\u3046\u306a\u3069\u8907\u6570\u884c\u306b\u6e21\u308b\u591a\u304f\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br>\u4e00\u65b9\u3001\u6b63\u898f\u8868\u73fe\u3092\u6d3b\u7528\u3057\u305f\u5834\u5408\u306f1\u884c\u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u4e0a\u8a18\u306e\u96fb\u5b50\u30e1\u30fc\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30c1\u30a7\u30c3\u30af\u306e\u5224\u5b9a\u6761\u4ef6\u3092\u6b63\u898f\u8868\u73fe\u3067\u3042\u3089\u308f\u3059\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(^&#091;a-zA-Z0-9_.+-]+@&#091;a-zA-Z0-9_.+-]+\\.&#091;a-zA-Z0-9_.+-]+$)<\/code><\/pre>\n\n\n\n<p><br>\u6b63\u898f\u8868\u73fe\u306f\u30b3\u30f3\u30d1\u30af\u30c8\u306b\u8a18\u8f09\u3067\u304d\u308b\u3082\u306e\u306e\u4f7f\u7528\u3055\u308c\u308b\u8a18\u53f7\u3084\u69cb\u6587\u306e\u610f\u5473\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u4f55\u3092\u793a\u3057\u3066\u3044\u308b\u306e\u304b\u7406\u89e3\u3059\u308b\u3053\u3068\u306f\u96e3\u3057\u3044\u3067\u3059\u3002<br>\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u306e\u6b63\u898f\u8868\u73fe\u30b5\u30f3\u30d7\u30eb\u306fStackOverflow\u306a\u3069\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u591a\u3044\u306e\u3067<br>\u5b9a\u8a55\u306e\u3042\u308b\u3082\u306e\u3092\u305d\u306e\u307e\u307e\u6d41\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001<br>\u5c11\u3057\u30a2\u30ec\u30f3\u30b8\u3092\u52a0\u3048\u305f\u3044\u5834\u5408\u3084\u3001\u81ea\u5206\u3067\u65b0\u898f\u306b\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306a\u3069\u306f\u3001\u6b63\u898f\u8868\u73fe\u3067\u4f7f\u7528\u3055\u308c\u308b\u8a18\u53f7\u3084\u6587\u6cd5\u306e\u610f\u5473\u306e\u7406\u89e3\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u56de\u306f\u300c\u6b63\u898f\u8868\u73fe\u306e\u57fa\u790e\u6587\u6cd5\u3068\u30de\u30c3\u30c1\u30f3\u30b0\u78ba\u8a8d\u300d\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br><br><\/p>\n\n\n\n<p>\u6728\u66dc\u65e5\u62c5\u5f53\uff1anishida<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12642\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/12642\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u6b63\u898f\u8868\u73fe\u57fa\u790e(1)\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12642\" data-text=\"\u6b63\u898f\u8868\u73fe\u57fa\u790e(1)\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12642\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12642\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30c4\u30fc\u30eb\u3067\u6d3b\u7528\u3067\u304d\u308b\u6b63\u898f\u8868\u73fe\u306e\u57fa\u790e\u6587\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[100],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12642"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=12642"}],"version-history":[{"count":13,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12642\/revisions"}],"predecessor-version":[{"id":12659,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12642\/revisions\/12659"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=12642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=12642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=12642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}