{"id":23232,"date":"2017-05-21T20:04:09","date_gmt":"2017-05-21T11:04:09","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=23232"},"modified":"2024-05-06T11:42:30","modified_gmt":"2024-05-06T02:42:30","slug":"%e3%80%90python%e5%85%a5%e9%96%80%e3%80%91%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e3%81%ae%e6%8a%bd%e5%87%ba%e6%96%b9%e6%b3%95%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/23232","title":{"rendered":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac"},"content":{"rendered":"<p><div class=\"box_voice\">Python\u3067\u6b63\u898f\u8868\u73fe\u3092\u6271\u3046\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044<br \/>\n\u6b63\u898f\u8868\u73fe\u3067\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044<br \/>\n\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044<\/div><\/p>\n<p>\u6307\u5b9a\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3057\u305f\u3044\u5834\u5408\u3001\u6b63\u898f\u8868\u73fe\u304c\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u6b63\u898f\u8868\u73fe\u306f\u305d\u3082\u305d\u3082\u308f\u304b\u308a\u306b\u304f\u304b\u3063\u305f\u308a\u3001\u4f7f\u3044\u65b9\u304c\u306a\u304b\u306a\u304b\u8eab\u306b\u3064\u304b\u306a\u3044\u306a\u3069\u306e\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u57fa\u790e\u304b\u3089\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306b\u3001<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u3010\u57fa\u790e\u3011\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066<\/b><\/li>\n<li><b>\u3010\u57fa\u790e\u3011\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u305f\u3081\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u30684\u3064\u306e\u95a2\u6570\u3001\u30e1\u30bd\u30c3\u30c9<\/b><\/li>\n<li><b>\u3010\u767a\u5c55\u3011\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066URL\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>\u3010\u767a\u5c55\u3011\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u8907\u6570\u306e\u7570\u306a\u308b\u62bd\u51fa\u5bfe\u8c61\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306a\u3069\u306e\u4f7f\u3044\u65b9\u306b\u95a2\u3057\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u6b63\u898f\u8868\u73fe\u306e\u62bd\u51fa\u306b\u3064\u3044\u3066\u6b63\u3057\u304f\u7406\u89e3\u3057\u3001\u5fc5\u8981\u306a\u5834\u9762\u3067\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u4e00\u7dd2\u306b\u5b66\u7fd2\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u306a\u304a\u3001Python\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.sejuku.net\/blog\/147190\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u6b63\u898f\u8868\u73fe\u3068\u306f<\/h2>\n<p>\u6b63\u898f\u8868\u73fe\u306f\u3001\u6587\u5b57\u5217\u306e\u96c6\u307e\u308a\u30921\u3064\u306e\u5f62\u5f0f\u3067\u8868\u3059\u305f\u3081\u306e\u7279\u5225\u306a\u66f8\u304d\u65b9\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3061\u3089\u306e\u6b63\u898f\u8868\u73fe\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:python decode:true \">^[0-9]{3}-[0-9]{4}$<\/pre>\n<p>\u3053\u3061\u3089\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u90f5\u4fbf\u756a\u53f7\u3092\u62bd\u51fa\u3059\u308b\u305f\u3081\u306e\u6b63\u898f\u8868\u73fe\u306b\u306a\u308a\u307e\u3059\u3002\u308f\u304b\u308a\u3084\u3059\u304f\u56f3\u3067\u8868\u3057\u305f\u3082\u306e\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-60883\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/seiki_image01-640x385.jpg\" alt=\"seiki_image01\" width=\"640\" height=\"385\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/seiki_image01-640x385.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/seiki_image01-150x90.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/seiki_image01-300x180.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/seiki_image01.jpg 650w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><div class=\"img-caption\">\u753b\u50cf\uff1a\u6b63\u898f\u8868\u73fe\u306e\u4f8b<\/div><\/p>\n<p>\u3053\u306e\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u3068\u3001<b>0\u301c9\u307e\u3067\u306e\u6570\u5b573\u6841\u3067\u59cb\u307e\u308a\u3001\u30cf\u30a4\u30d5\u30f3(&#8220;-&#8220;)\u306e\u5f8c\u306b\u540c\u3058\u304f0\u304b\u30899\u307e\u3067\u306e\u6570\u5b574\u6841\u3067\u7d42\u308f\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Python\u306b\u306f\u6b63\u898f\u8868\u73fe\uff08regex\uff09\u3092\u6271\u3046\u305f\u3081\u306ere\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/b><\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u305d\u306ere\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u95a2\u6570\u306e\u5f15\u6570\u306b\u3001\u6b63\u898f\u8868\u73fe\u3092\u6e21\u3059\u3053\u3068\u3067\u6587\u5b57\u5217\u306e\u62bd\u51fa\u306a\u3069\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u304b\u3089\u3001\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2>\u6b63\u898f\u8868\u73fe\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u3053\u3053\u304b\u3089\u306f\u5b9f\u969b\u306b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>\u5148\u982d\u304c\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u62bd\u51fa match\u95a2\u6570<\/h4>\n<p>match\u95a2\u6570\u306f\u3001\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u5148\u982d\u306b\u62bd\u51fa\u30ef\u30fc\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u5224\u5b9a\u3057\u307e\u3059\u3002\u7b2c\u4e00\u5f15\u6570\u306b\u62bd\u51fa\u3059\u308b\u6b63\u898f\u8868\u73fe\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5bfe\u8c61\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306fNone\u3092\u8fd4\u3057\u3001\u5b58\u5728\u3059\u308b\u5834\u5408\u306fmatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">import re\r\naddress = \"123-7777 \u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a\"\r\npostCode = re.match('[0-9]{3}-[0-9]{4}' , address)\r\nprint (postCode)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">&lt;_sre.SRE_Match object; span=(0, 8), match='123-7777'&gt;<\/pre>\n<p>\u6c17\u3092\u3064\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u306f\u3001<b>\u6587\u5b57\u5217\u306e\u5148\u982d\u90e8\u5206\u3057\u304b\u898b\u3066\u304f\u308c\u306a\u3044<\/b>\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u3088\u304f\u5229\u7528\u3055\u308c\u308b\u30b1\u30fc\u30b9\u3068\u3057\u3066\u306f\u3001\u691c\u7d22\u3057\u305f\u3044\u6587\u5b57\u304c\u5148\u982d\u306b\u3042\u308b\u3053\u3068\u304c\u30eb\u30fc\u30eb\u4e0a\u6c7a\u307e\u3063\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u5834\u5408\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u6b21\u306b\u3001\u6587\u5b57\u5217\u5168\u4f53\u3092\u898b\u3066\u307b\u3057\u3044\u5834\u5408\u306f\u3001\u6b21\u306esearch\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>\u5168\u4f53\u306e\u4e2d\u3067\u4e00\u81f4\u3059\u308b\u6700\u521d\u306e\u6587\u5b57\u5217\u62bd\u51fa search\u95a2\u6570<\/h4>\n<p>search\u95a2\u6570\u306f\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u5148\u982d\u304b\u3089\u6700\u5f8c\u307e\u3067\u3092\u691c\u7d22\u3057\u3001\u62bd\u51fa\u30ef\u30fc\u30c9\u304c\u5b58\u5728\u3059\u308b\u304b\u5224\u5b9a\u3057\u307e\u3059\u3002\u7b2c\u4e00\u5f15\u6570\u306b\u62bd\u51fa\u3059\u308b\u6b63\u898f\u8868\u73fe\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5bfe\u8c61\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306fNone\u3092\u8fd4\u3057\u3001\u5b58\u5728\u3059\u308b\u5834\u5408\u306fmatch\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">import re\r\naddress2 = \"\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a 123-7777\"\r\npostCode = re.search('[0-9]{3}-[0-9]{4}' , address2)\r\nprint (postCode)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">&lt;_sre.SRE_Match object; span=(8, 16), match='123-7777'&gt;<\/pre>\n<p>\u5148\u7a0b\u306ematch\u95a2\u6570\u3068\u306f\u90f5\u4fbf\u756a\u53f7\u3068\u4f4f\u6240\u304c\u9006\u306eaddress2\u3068\u3044\u3046\u5909\u6570\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3057\u5148\u7a0b\u4f7f\u3063\u305fmatch\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u90f5\u4fbf\u756a\u53f7\u304c\u5148\u982d\u306b\u306a\u3044\u306e\u3067\u3001\u7d50\u679c\u3068\u3057\u3066None\uff08\u8a72\u5f53\u7121\u3057\uff09\u3068\u3044\u3046\u7d50\u679c\u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<p>search\u95a2\u6570\u306f\u5148\u982d\u3060\u3051\u3067\u306f\u306a\u304f\u6587\u5b57\u5217\u5168\u4f53\u3092\u691c\u7d22\u3057\u305f\u3044\u6642\u306b\u6709\u52b9\u306a\u95a2\u6570\u3067\u3059\u3002<\/p>\n<h4>\u5168\u4f53\u306e\u4e2d\u3067\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5168\u3066\u62bd\u51fa findall\u95a2\u6570<\/h4>\n<p>findall\u95a2\u6570\u306f\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u5148\u982d\u304b\u3089\u6700\u5f8c\u307e\u3067\u3092\u691c\u7d22\u3057\u3001\u5b58\u5728\u3059\u308b\u6b63\u898f\u8868\u73fe\u306e\u5168\u3066\u3092\u53d6\u5f97\u3057\u3066\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3067\u8fd4\u3057\u307e\u3059\u3002\u7b2c\u4e00\u5f15\u6570\u306b\u62bd\u51fa\u30ef\u30fc\u30c9\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">import re\r\naddress3 = \"\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a 123-7777, \u6771\u4eac\u90fd\u4e16\u7530\u8c37\u533a 567-9999\"\r\npostCodeList = re.findall('[0-9]{3}-[0-9]{4}' , address3)\r\nif postCodeList:\r\n    print (postCodeList)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">['123-7777', '567-9999']<\/pre>\n<p>\u90f5\u4fbf\u756a\u53f7\u304c2\u3064\u306b\u5897\u3048\u3066\u3044\u307e\u3059\u304c\u3001\u3057\u3063\u304b\u308a\u3068\u30ea\u30b9\u30c8\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002findall\u95a2\u6570\u306f\u3001\u691c\u7d22\u3057\u305f\u3044\u6587\u5b57\u304c\u6709\u308b\u304b\u7121\u3044\u304b\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u6709\u308b\u3082\u306e\u5168\u3066\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306b\u6709\u52b9\u306a\u95a2\u6570\u3067\u3059\u3002<\/p>\n<h4>\u62bd\u51fa\u5bfe\u8c61\u306e\u5834\u6240\u3092\u8abf\u3079\u308b find\u30e1\u30bd\u30c3\u30c9<\/h4>\n<p>find\u30e1\u30bd\u30c3\u30c9\u306f\u6587\u5b57\u5217\u578b\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u6587\u5b57\u5217\u3092\u691c\u7d22\u3059\u308b\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u6587\u5b57\u5217\u304b\u3089\u300cpython\u300d\u3092\u691c\u7d22\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">str = \"Ruby,Python,PHP,Java,C\"\r\nfd = str.find('Python')\r\nprint(fd)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">5<\/pre>\n<p>\u3053\u308c\u306f\u3001\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u4e2d\u306b\u3042\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002find\u30e1\u30bd\u30c3\u30c9\u306f\u691c\u7d22\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u5148\u982d\u304b\u3089\u6700\u5f8c\u307e\u3067\u3092\u691c\u7d22\u3057\u307e\u3059\u3002\u5f15\u6570\u306b\u6e21\u3057\u305f\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308c\u3070\u3001\u305d\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3068\u306f\u30ea\u30b9\u30c8\u3084\u8f9e\u66f8\u306a\u3069\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u8981\u7d20\u306e\u4f4d\u7f6e\u306e\u3053\u3068\u3067\u3059\u3002\u691c\u7d22\u3057\u305f\u5bfe\u8c61\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001&#8221;-1&#8243;\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">address4 = \"\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a 123-7777\"\r\ncity = address4.find('\u5343\u4ee3\u7530\u533a')\r\nprint (city)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">3<\/pre>\n<p>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f0\u304b\u3089\u59cb\u307e\u308b\u305f\u3081\u3001\u5343\u4ee3\u7530\u533a\u306e\u6587\u5b57\u306e\u59cb\u307e\u308a\u4f4d\u7f6e\u304c&#8221;3&#8243;\uff080\u6587\u5b57\u76ee\u304b\u3089\u6570\u3048\u30663\u6587\u5b57\u76ee\uff09\u3068\u3044\u3046\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u306a\u3044\u306e\u3067\u67d4\u8edf\u306a\u691c\u7d22\u306f\u51fa\u6765\u307e\u305b\u3093\u3002<\/p>\n<p>\u3067\u3082\u3001\u6587\u5b57\u5217\u578b\u3067\u624b\u8efd\u306b\u691c\u7d22\u304c\u51fa\u6765\u308b\u3068\u3044\u3046\u306e\u306f\u5927\u304d\u306a\u9b45\u529b\u3067\u3059\u3088\u306d\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u307b\u3069\u5e45\u5e83\u3044\u691c\u7d22\u30d1\u30bf\u30fc\u30f3\u3092\u610f\u8b58\u3059\u308b\u5fc5\u8981\u304c\u7121\u3044\u5834\u5408\u306b\u306f\u3001find\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>find\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/52207\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/python_file-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Python\u5165\u9580\u3011\u6587\u5b57\u5217\u306e\u691c\u7d22\uff08find\u3001in\u3001re.findall\uff09<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h3>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066URL\u3092\u62bd\u51fa\u3059\u308b<\/h3>\n<p>\u305d\u308c\u3067\u306f<b>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u305f\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9<\/b>\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u306fURL\u3092\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u62bd\u51fa\u3057\u3066\u307f\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306b\u306fHTML\u304c\u767b\u5834\u3057\u307e\u3059\u304c\u3001HTML\u304c\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u7406\u89e3\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u4f7f\u3046URL\u306e\u5f62\u5f0f\u306f\u3053\u306e\u3088\u3046\u306a\u5f62\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>URL\u5f62\u5f0f\uff1aproducts\/[\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u30fc\uff08\u82f1\u5c0f\u6587\u5b571\u6587\u5b57\u4ee5\u4e0a\uff09]\/[\u5546\u54c1\u756a\u53f7\uff084\u6841\u306e\u6570\u5b57\uff09]\/<br \/>\n\u4f8b\uff09https:\/\/exsample.com\/products\/mens\/0001\/<\/p>\n<p>\u3053\u306eURL\u304cHTML\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u62bd\u51fa\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:python decode:true \">import re\r\n\r\nhtml = \"\"\"\r\n&lt;html&gt;\r\n&lt;head&gt;&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div id=\"item\"&gt;\r\n   &lt;a href=\"https:\/\/exsample.com\/products\/mems\/7913\/\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;\r\n&lt;div id=\"item\"&gt;\r\n   &lt;a href=\"https:\/\/exsample.com\/products\/kids\/8567\/\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n\"\"\"\r\n\r\nurlList = re.findall('https:\/\/exsample.com\/products\/[a-z]+\/[0-9]{4}\/' , html)\r\nif urlList:\r\n    print (urlList)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">['https:\/\/exsample.com\/products\/mems\/7913\/', 'https:\/\/exsample.com\/products\/kids\/8567\/']<\/pre>\n<p>html\u3068\u3044\u3046\u5909\u6570\u306b\u3001HTML\u30d5\u30a1\u30a4\u30eb\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002\u3053\u3053\u304b\u3089findall\u95a2\u6570\u3092\u4f7f\u3063\u3066html\u5909\u6570\u5185\u306eURL\u3092\u62bd\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u62bd\u51fa\u3059\u308b\u6b63\u898f\u8868\u73fe\u3067\u3001&#8221;+&#8221;\u306f\u76f4\u524d\u306e\u6587\u5b57\uff08\u3053\u3053\u3067\u306fa\u304b\u3089z\u306e\u82f1\u5b50\u6587\u5b57\uff09\u304c1\u6587\u5b57\u4ee5\u4e0a\u3068\u3044\u3046\u6307\u5b9a\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u305f\u7f6e\u63db<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306f<b>\u6587\u5b57\u5217\u306e\u62bd\u51fa\u65b9\u6cd5<\/b>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u305f\u6587\u5b57\u5217\u306e\u62bd\u51fa\u306b\u4e26\u3093\u3067\u3088\u304f\u884c\u308f\u308c\u308b\u64cd\u4f5c\u304c\u3001\u6587\u5b57\u5217\u306e\u7f6e\u63db\u3067\u3059\u3002\u6587\u5b57\u5217\u306e\u7f6e\u63db\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u67d4\u8edf\u306b\u6587\u7ae0\u3092\u4f5c\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u89e3\u8aac\u306f\u3001\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/23421\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-121-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306b\u3088\u308b\u6587\u5b57\u5217\u7f6e\u63db\u3092\u30de\u30b9\u30bf\u30fc\u3057\u3088\u3046\uff5cre.sub<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u4e00\u89a7\u3068\u7c21\u5358\u306b\u8868\u73fe\u3059\u308b\u65b9\u6cd5\u3068\u306f<\/h2>\n<h3>\u6b63\u898f\u8868\u73fe\u306e\u30d1\u30bf\u30fc\u30f3\u4e00\u89a7<\/h3>\n<p>\u3053\u308c\u307e\u3067\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u4e2d\u3067\u4f7f\u7528\u3055\u308c\u3066\u304d\u305f\u6b63\u898f\u8868\u73fe\u3001[0-9]{3}-[0-9]{4} \u306b\u3064\u3044\u3066\u3001\u3053\u3053\u3067\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3053\u306e\u6b63\u898f\u8868\u73fe\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u4e2d\u30ab\u30c3\u30b3{} \u3084\u30ab\u30ae\u30ab\u30c3\u30b3[]\u306f\u3001\u201d\u30e1\u30bf\u6587\u5b57\u201d\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30bf\u6587\u5b57\u306f\u4ed6\u306b\u3082\u69d8\u3005\u306a\u7a2e\u985e\u304c\u3042\u308a\u3001\u5168\u3066\u3092\u899a\u3048\u308b\u306b\u306f\u6642\u9593\u304c\u639b\u304b\u308a\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u3042\u306a\u305f\u304c\u5b9f\u969b\u306b\u6b63\u898f\u8868\u73fe\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u6642\u306b\u8f9e\u66f8\u304c\u308f\u308a\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3068\u3001\u4ee5\u4e0b\u306b\u4f7f\u7528\u983b\u5ea6\u304c\u9ad8\u3044\u30e1\u30bf\u6587\u5b57\u306e\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306a\u3069\u3067\u4fdd\u5b58\u3057\u3066\u304a\u304d\u3001\u5fc5\u8981\u306a\u6642\u306b\u8abf\u3079\u3089\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n<table id=\"tablepress-241\" class=\"tablepress tablepress-id-241\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30e1\u30bf\u6587\u5b57<\/th><th class=\"column-2\">\u8aac\u660e<\/th><th class=\"column-3\">\u4f7f\u7528\u4f8b<\/th><th class=\"column-4\">\u5408\u81f4\u3059\u308b\u6587\u5b57\u5217<\/th><th class=\"column-5\">\u5408\u81f4\u3057\u306a\u3044\u6587\u5b57\u5217<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">.<\/td><td class=\"column-2\">\u4efb\u610f\u306e1\u6587\u5b57<\/td><td class=\"column-3\">h.t<\/td><td class=\"column-4\">hat,hot,hit<\/td><td class=\"column-5\">head,height<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">*<\/td><td class=\"column-2\">\u76f4\u524d\u306e\u30d1\u30bf\u30fc\u30f3\u30920\u56de\u4ee5\u4e0a\u7e70\u308a\u8fd4\u3059<\/td><td class=\"column-3\">\u5c71\u5ddd*<\/td><td class=\"column-4\">\u5c71,\u5c71\u5ddd,\u5c71\u5ddd\u5ddd<\/td><td class=\"column-5\">\u91cc<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">+<\/td><td class=\"column-2\">\u76f4\u524d\u306e\u30d1\u30bf\u30fc\u30f3\u3092\uff11\u56de\u4ee5\u4e0a\u7e70\u308a\u8fd4\u3059<\/td><td class=\"column-3\">gre*n<\/td><td class=\"column-4\">greeeeeeen<\/td><td class=\"column-5\">grn<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">?<\/td><td class=\"column-2\">\u76f4\u524d\u306e\u30d1\u30bf\u30fc\u30f3\u30920\u3082\u3057\u304f\u306f1\u56de\u7e70\u308a\u8fd4\u3059<\/td><td class=\"column-3\">\u5c71\u5ddd?<\/td><td class=\"column-4\">\u5c71,\u5c71\u5ddd<\/td><td class=\"column-5\">\u5c71\u5ddd\u5ddd<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">{\u6570\u5b57}<\/td><td class=\"column-2\">\u76f4\u524d\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u6570\u5b57\u306e\u5206\u3060\u3051\u7e70\u308a\u8fd4\u3057<\/td><td class=\"column-3\">9{3}<\/td><td class=\"column-4\">999<\/td><td class=\"column-5\">9,99,9999<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">[\u6587\u5b57,\u6587\u5b57]<\/td><td class=\"column-2\">\u30ab\u30c3\u30b3\u5185\u306e\u6587\u5b57\u306e\u3044\u305a\u308c\u304b\uff11\u6587\u5b57<\/td><td class=\"column-3\">[a,b,c]<\/td><td class=\"column-4\">a,b,c<\/td><td class=\"column-5\">d,e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-241 from cache -->\n<h3>\u4efb\u610f\u306e\u6587\u5b57\u3092\u7c21\u5358\u306b\u8868\u3059\u305f\u3081\u306b<\/h3>\n<p>\u5148\u307b\u3069\u3054\u8aac\u660e\u3057\u305f\u30e1\u30bf\u6587\u5b57\u4ee5\u5916\u306b\u3082\u3001\u4efb\u610f\u306e\u6570\u5b57\u3084\u6587\u5b57\u3092\u8868\u3059\u305f\u3081\u306e\u6b63\u898f\u8868\u73fe\u56fa\u6709\u306e\u7279\u6b8a\u6587\u5b57\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u304c\u3001\u7279\u6b8a\u30b7\u30fc\u30b1\u30f3\u30b9\u3068\u547c\u3070\u308c\u308b\u6587\u5b57\u3067\u3059\u3002<\/p>\n\n<table id=\"tablepress-242\" class=\"tablepress tablepress-id-242\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u7279\u6b8a\u30b7\u30fc\u30b1\u30f3\u30b9<\/th><th class=\"column-2\">\u8aac\u660e<\/th><th class=\"column-3\">\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">\\d<\/td><td class=\"column-2\">\u4efb\u610f\u306e\u6570\u5b57<\/td><td class=\"column-3\">1,2,3\u306a\u3069<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">\\D<\/td><td class=\"column-2\">\u4efb\u610f\u306e\u6570\u5b57\u4ee5\u5916<\/td><td class=\"column-3\">a,b,abc\u306a\u3069<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">\\w<\/td><td class=\"column-2\">\u4efb\u610f\u306e\u82f1\u6570\u5b57<\/td><td class=\"column-3\">1,2,333,ab,12ab\u306a\u3069<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">\\W<\/td><td class=\"column-2\">\u4efb\u610f\u306e\u82f1\u6570\u5b57\u4ee5\u5916<\/td><td class=\"column-3\">\u5c71\u3001\u5ddd\u3001\u7a7a\u767d\u306a\u3069<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-242 from cache -->\n<p>\u4e0a\u8a18\u306e\u8868\u3092\u898b\u3066\u3044\u305f\u3060\u304f\u3068\u304a\u5206\u304b\u308a\u306b\u306a\u308b\u901a\u308a\u3001\u7279\u6b8a\u30b7\u30fc\u30b1\u30f3\u30b9\u306f\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5()\u3068\u82f1\u5b57\u3067\u3059\u3002\u3053\u306e\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u3092\u82f1\u5b57\u3068\u30bb\u30c3\u30c8\u306b\u3057\u3066\u7279\u6b8a\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u8868\u8a18\u3059\u308b\u51e6\u7406\u3092\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u304c\u3042\u308b\u304a\u304b\u3052\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u201dd\u201d\u3092\u898b\u305f\u6642\u306b\u3001\u201dd\u201d\u3068\u3044\u3046\u82f1\u5b57\uff11\u6587\u5b57\u3092\u691c\u7d22\u3057\u305f\u3044\u306e\u304b\u3001\u4efb\u610f\u306e\u6570\u5b57\u3092\u691c\u7d22\u3057\u305f\u3044\u306e\u304b\u533a\u5225\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306fPython\u306e\u6b63\u898f\u8868\u73fe\u306e\u62bd\u51fa\u306b\u3064\u3044\u3066\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>match\u95a2\u6570<\/b><\/li>\n<li><b>search\u95a2\u6570<\/b><\/li>\n<li><b>findall\u95a2\u6570<\/b><\/li>\n<li><b>find\u30e1\u30bd\u30c3\u30c9<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306e\u7279\u5fb4\u3092\u8e0f\u307e\u3048\u3066\u3001\u6587\u5b57\u5217\u306e\u62bd\u51fa\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002URL\u306e\u62bd\u51fa\u306f\u3068\u3066\u3082\u5b9f\u8df5\u7684\u3067\u3057\u305f\u304c\u3001\u3053\u308c\u304c\u7406\u89e3\u3067\u304d\u308b\u3068\u3042\u3068\u306f\u6b63\u898f\u8868\u73fe\u306e\u66f8\u304d\u65b9\u3092\u899a\u3048\u308b\u3060\u3051\u3067\u3059\u3002\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u62bd\u51fa\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u5834\u9762\u306f\u4eca\u5f8c\u3082\u591a\u304f\u51fa\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u3088\u3046\u306a\u3068\u304d\u306f\u305c\u3072\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3001\u8aad\u307f\u8fd4\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>\u306a\u304a\u3001\u4ecaPython\u3092\u5b66\u7fd2\u3057\u3066\u3044\u308b\u65b9\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3082\u3069\u3046\u305e\u3002<\/p>\n<p>\u306f\u3058\u3081\u3066Python\u3092\u4f7f\u3046\u65b9\u3067\u3082\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001Python\u3067\u3067\u304d\u308b\u3053\u3068\u3084\u305d\u306e\u5b66\u7fd2\u6cd5\u306a\u3069\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5fa9\u7fd2\u306b\u3082\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u4e00\u5ea6\u3054\u89a7\u306b\u306a\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3010<a href=\"https:\/\/www.sejuku.net\/blog\/curriculums-python\"><strong>Python \u5165\u9580\u5b8c\u5168\u653b\u7565\u30ac\u30a4\u30c9<\/strong><\/a>\u3011<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/curriculums-python\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2021\/10\/howto-05-21-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">Python\u30a2\u30d7\u30ea\u958b\u767a\u5b8c\u5168\u30ac\u30a4\u30c9\uff01\u6210\u529f\u3078\u3068\u5c0e\u304f\u5165\u9580\u624b\u9806\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u670821\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u3067\u6b63\u898f\u8868\u73fe\u3092\u6271\u3046\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044 \u6b63\u898f\u8868\u73fe\u3067\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044 \u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044 \u6307\u5b9a\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3057\u305f\u3044\u5834\u5408\u3001\u6b63\u898f\u8868\u73fe\u304c\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u6b63 [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":97155,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2350],"tags":[49],"class_list":["post-23232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study","tag-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/23232\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/23232\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-21T11:04:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:42:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"810\" \/>\n\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\",\"datePublished\":\"2017-05-21T11:04:09+00:00\",\"dateModified\":\"2024-05-06T02:42:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232\"},\"wordCount\":129,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/python_regex.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232\",\"name\":\"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/python_regex.jpg\",\"datePublished\":\"2017-05-21T11:04:09+00:00\",\"dateModified\":\"2024-05-06T02:42:30+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/python_regex.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/python_regex.jpg\",\"width\":810,\"height\":460},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23232#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/23232","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/23232","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2017-05-21T11:04:09+00:00","article_modified_time":"2024-05-06T02:42:30+00:00","og_image":[{"width":810,"height":460,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/23232#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/23232"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac","datePublished":"2017-05-21T11:04:09+00:00","dateModified":"2024-05-06T02:42:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/23232"},"wordCount":129,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/23232#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg","keywords":["python"],"articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/23232","url":"https:\/\/www.sejuku.net\/blog\/23232","name":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/23232#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/23232#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg","datePublished":"2017-05-21T11:04:09+00:00","dateModified":"2024-05-06T02:42:30+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/23232#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/23232"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/23232#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex.jpg","width":810,"height":460},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/23232#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/23232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=23232"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/23232\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/97155"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=23232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=23232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=23232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}