{"author_url":"https://blog.hatena.ne.jp/m-hiyama/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20110818%2F1313640705\" title=\"JavaScript: \u6587\u5b57\u5217\u306ereplace\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c3\u5f15\u6570 - \u6a9c\u5c71\u6b63\u5e78\u306e\u30ad\u30de\u30a4\u30e9\u98fc\u80b2\u8a18 (\u306f\u3066\u306aBlog)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":null,"height":"190","url":"https://m-hiyama.hatenablog.com/entry/20110818/1313640705","provider_name":"Hatena Blog","author_name":"m-hiyama","provider_url":"https://hatena.blog","blog_url":"https://m-hiyama.hatenablog.com/","type":"rich","title":"JavaScript: \u6587\u5b57\u5217\u306ereplace\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c3\u5f15\u6570","description":"\u6b21\u306eJavaScript\u65ad\u7247\u3092\u5b9f\u884c\u3059\u308b\u3068\uff1a var s = \"\u79c1\u304c\u587e\u9577\u3067\u3042\u308b\u3002\u79c1\u304c\u6c5f\u7530\u5cf6\u5e73\u516b\u3067\u3042\u308b\u3002\"; alert(s.replace(\"\u79c1\",\"\u30ef\u30b7\")) \u300c\u30ef\u30b7\u304c\u587e\u9577\u3067\u3042\u308b\u3002\u79c1\u304c\u6c5f\u7530\u5cf6\u5e73\u516b\u3067\u3042\u308b\u3002\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u4e8c\u7b87\u6240\u306e\u300c\u79c1\u300d\u3092\u300c\u30ef\u30b7\u300d\u306b\u7f6e\u304d\u63db\u3048\u308b\u306b\u306f\u3001g\uff08global\uff09\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002Firefox\u3060\u3068\u6b21\u306e\u3088\u3046\u306b\u66f8\u3051\u307e\u3059\u3002 var s = \"\u79c1\u304c\u587e\u9577\u3067\u3042\u308b\u3002\u79c1\u304c\u6c5f\u7530\u5cf6\u5e73\u516b\u3067\u3042\u308b\u3002\"; alert(s.replace(\"\u79c1\",\"\u30ef\u30b7\", 'g')) \u8868\u793a\u306f\u300c\u30ef\u30b7\u304c\u587e\u9577\u3067\u3042\u308b\u3002\u30ef\u30b7\u304c\u6c5f\u7530\u5cf6\u5e73\u516b\u3067\u3042\u308b\u3002\u300d\u3068\u306a\u308a\u307e\u3059\u3002\u3068\u3053\u308d\u304c\u3001Chrome\u3067\u540c\u3058\u3053\u3068\u3092\u3057\u3066\u3082\u3001replace\u306e\u7b2c3\u5f15\u6570 \u2026","version":"1.0","blog_title":"\u6a9c\u5c71\u6b63\u5e78\u306e\u30ad\u30de\u30a4\u30e9\u98fc\u80b2\u8a18 (\u306f\u3066\u306aBlog)","published":"2011-08-18 13:11:45","categories":["\u96d1\u8a18\uff0f\u5099\u5fd8"]}