{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2018%2F10%2F23%2F100000\" title=\"Python\u3067grep\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3057\u3066\u307f\u308b - \u304b\u3079\u304e\u308f\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python"],"width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kabegiwakun/20180115/20180115220028.png","version":"1.0","blog_url":"https://www.kabegiwablog.com/","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/kabegiwakun/","published":"2018-10-23 10:00:00","provider_url":"https://hatena.blog","blog_title":"\u304b\u3079\u304e\u308f\u30d6\u30ed\u30b0","title":"Python\u3067grep\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3057\u3066\u307f\u308b","height":"190","url":"https://www.kabegiwablog.com/entry/2018/10/23/100000","author_name":"kabegiwakun","description":"\u6982\u8981 Python\u3092\u5229\u7528\u3057\u3066grep\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b \u3060\u3044\u305f\u3044\u3053\u3093\u306a\u304b\u3093\u3058\u3002 words_array\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u306e\u4e2d\u306bwa\u3068\u3044\u3046\u6587\u5b57\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3002 grep_word = 'wa' words_array = ['maeda','tanaka','wasabi'] for i in range(0,len(words_array)): if words_array[i].find(grep_word) >= 0: print(words_array[i]) \u305d\u308c\u3089\u306f\u6587\u5b57\u5217\u5168\u90e8.find(\u3055\u304c\u3057\u305f\u3044\u6587\u5b57\u5217)\u3067\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3046\u3054\u304b\u3057\u3066\u2026"}