{"id":2573,"date":"2023-07-21T16:15:52","date_gmt":"2023-07-21T16:15:52","guid":{"rendered":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/"},"modified":"2023-07-21T16:15:52","modified_gmt":"2023-07-21T16:15:52","slug":"r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab","status":"publish","type":"post","link":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/","title":{"rendered":"R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc5ec\ub7ec \ud15c\ud50c\ub9bf\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R\uc758 <a href=\"https:\/\/statorials.org\/ko\/gr-\u110b\u1161\u1105\u1162\/\" target=\"_blank\" rel=\"noopener\">gsub()<\/a> \ud568\uc218\ub294 R\uc758 \ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud328\ud134\uc758 \ubaa8\ub4e0 \ubc1c\uc0dd\uc744 \ubc14\uafb8\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\ud55c \ubc88\uc5d0 \uc5ec\ub7ec \ubaa8\ub378\uc744 \uad50\uccb4\ud558\ub824\uba74 \uc911\ucca9\ub41c <strong>gsub()<\/strong> \ubb38\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>df$col1 &lt;- gsub(' <span style=\"color: #ff0000;\">old1<\/span> ', ' <span style=\"color: #ff0000;\">new1<\/span> ',\n           gsub(' <span style=\"color: #ff0000;\">old2<\/span> ', ' <span style=\"color: #ff0000;\">new2<\/span> ',\n           gsub(' <span style=\"color: #ff0000;\">old3<\/span> ', ' <span style=\"color: #ff0000;\">new3<\/span> ', df$col1)))\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uadf8\ub7ec\ub098 \ud6e8\uc52c \ub354 \ube60\ub978 \ubc29\ubc95\uc740 \ub2e4\uc74c \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 <strong>stringi<\/strong> \ud328\ud0a4\uc9c0\uc758 <strong>stri_replace_all_regex()<\/strong> \ud568\uc218\uc785\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (stringi)\n\ndf$col1 &lt;- stri_replace_all_regex(df$col1,\n                                  pattern=c(' <span style=\"color: #ff0000;\">old1<\/span> ', ' <span style=\"color: #ff0000;\">old2<\/span> ', ' <span style=\"color: #ff0000;\">old3<\/span> '),\n                                  replacement=c(' <span style=\"color: #ff0000;\">new1<\/span> ', ' <span style=\"color: #ff0000;\">new2<\/span> ', ' <span style=\"color: #ff0000;\">new3<\/span> '),\n                                  vectorize= <span style=\"color: #008000;\">FALSE<\/span> )<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \uc608\uc5d0\uc11c\ub294 \uac01 \ubc29\ubc95\uc744 \uc2e4\uc81c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\ubc29\ubc95 1: \uc5ec\ub7ec \ud15c\ud50c\ub9bf\uc744 \uc911\ucca9\ub41c gsub()\ub85c \uad50\uccb4<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">R\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc740 \ub370\uc774\ud130 \ud504\ub808\uc784\uc774 \uc788\ub2e4\uace0 \uac00\uc815\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#create data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (name=c('A', 'B', 'B', 'C', 'D', 'D'),\n                 dots=c(24, 26, 28, 14, 19, 12))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n  name points\n1 to 24\n2 B 26\n3 B 28\n4 C 14\n5 D 19\n6 D 12<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc911\ucca9\ub41c <strong>gsub()<\/strong> \ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec <strong>\uc774\ub984<\/strong> \uc5f4\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafc0 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#replace multiple patterns in name column\n<\/span>df$name &lt;- gsub(' <span style=\"color: #ff0000;\">A<\/span> ', ' <span style=\"color: #ff0000;\">Andy<\/span> ',\n           gsub(' <span style=\"color: #ff0000;\">B<\/span> ', ' <span style=\"color: #ff0000;\">Bob<\/span> ',\n           gsub(' <span style=\"color: #ff0000;\">C<\/span> ', ' <span style=\"color: #ff0000;\">Chad<\/span> ', df$name)))\n\n<span style=\"color: #008080;\">#view updated data frame\n<\/span>df\n\n  name points\n1Andy 24\n2 Bob 26\n3 Bob 28\n4 Chad 14\n5 D 19\n6 D 12<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>\uc774\ub984<\/strong> \uc5f4\uc758 A, B, C\uac00 \ubaa8\ub450 \uc0c8 \uac12\uc73c\ub85c \ub300\uccb4\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\ubc29\ubc95 2: \uc5ec\ub7ec \ubaa8\ub378\uc744 stringi\ub85c \uad50\uccb4<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ud6e8\uc52c \ube60\ub978 \ubc29\ubc95\uc740 <strong>stringi<\/strong> \ud328\ud0a4\uc9c0\uc758 <strong>stri_replace_all_regex()<\/strong> \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ucf54\ub4dc\ub294 \uc774 \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> (stringi)\n\n<span style=\"color: #008080;\">#replace multiple patterns in name column\n<\/span>df$name &lt;- stri_replace_all_regex(df$name,\n                                  pattern=c(' <span style=\"color: #ff0000;\">A<\/span> ', ' <span style=\"color: #ff0000;\">B<\/span> ', ' <span style=\"color: #ff0000;\">C<\/span> '),\n                                  replacement=c(' <span style=\"color: #ff0000;\">Andy<\/span> ', ' <span style=\"color: #ff0000;\">Bob<\/span> ', ' <span style=\"color: #ff0000;\">Chad<\/span> '),\n                                  vectorize= <span style=\"color: #008000;\">FALSE<\/span> )\n\n<span style=\"color: #008080;\">#view updated data frame<\/span>\ndf\n\n  name points\n1Andy 24\n2 Bob 26\n3 Bob 28\n4 Chad 14\n5 D 19\n6 D 12\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uacb0\uacfc \ub370\uc774\ud130 \ud504\ub808\uc784\uc740 \uc774\uc804 \uc608\uc81c\uc758 \ub370\uc774\ud130 \ud504\ub808\uc784\uacfc \uc77c\uce58\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\ub370\uc774\ud130 \ud504\ub808\uc784\uc774 \uc801\ub2f9\ud788 \ud06c\uba74 \uc774 \ud568\uc218\uac00 <strong>gsub()<\/strong> \ud568\uc218\ubcf4\ub2e4 \ud6e8\uc52c \ube60\ub974\ub2e4\ub294 \uac83\uc744 \uc54c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\ub978 \uc77c\ubc18\uc801\uc778 \uc791\uc5c5\uc744 \uc218\ud589\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ko\/r\u110b\u1174-\u1112\u1161\u11b7\u1109\u116e-\u1100\u116d\u110e\u1166\/\" target=\"_blank\" rel=\"noopener\">R\uc5d0\uc11c replacement() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/r-\u110c\u1169\u1100\u1165\u11ab\u1107\u116e\u1105\u1169-\u1103\u1166\u110b\u1175\u1110\u1165-\u1111\u1173\u1105\u1166\u110b\u1175\u11b7\u110b\u1174-\u1100\u1161\u11b9\u110b\u1173\u11af-\u1107\u1161\u1101\u116e\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">R \ub370\uc774\ud130 \ud504\ub808\uc784\uc758 \uac12\uc744 \uc870\uac74\ubd80\ub85c \ubc14\uafb8\ub294 \ubc29\ubc95<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\uc758 gsub() \ud568\uc218\ub294 R\uc758 \ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud328\ud134\uc758 \ubaa8\ub4e0 \ubc1c\uc0dd\uc744 \ubc14\uafb8\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud55c \ubc88\uc5d0 \uc5ec\ub7ec \ubaa8\ub378\uc744 \uad50\uccb4\ud558\ub824\uba74 \uc911\ucca9\ub41c gsub() \ubb38\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. df$col1 &lt;- gsub(&#8216; old1 &#8216;, &#8216; new1 &#8216;, gsub(&#8216; old2 &#8216;, &#8216; new2 &#8216;, gsub(&#8216; old3 &#8216;, &#8216; new3 &#8216;, df$col1))) \uadf8\ub7ec\ub098 \ud6e8\uc52c \ub354 \ube60\ub978 \ubc29\ubc95\uc740 \ub2e4\uc74c \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 stringi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-2573","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials<\/title>\n<meta name=\"description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ko\/r-gsub-\u1103\u1161\u110c\u116e\u11bc-\u1111\u1162\u1110\u1165\u11ab\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials\" \/>\n<meta property=\"og:description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ko\/r-gsub-\u1103\u1161\u110c\u116e\u11bc-\u1111\u1162\u1110\u1165\u11ab\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-21T16:15:52+00:00\" \/>\n<meta name=\"author\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/\",\"url\":\"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/\",\"name\":\"\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ko\/#website\"},\"datePublished\":\"2023-07-21T16:15:52+00:00\",\"dateModified\":\"2023-07-21T16:15:52+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\"},\"description\":\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\uc9d1\",\"item\":\"https:\/\/statorials.org\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc5ec\ub7ec \ud15c\ud50c\ub9bf\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ko\/#website\",\"url\":\"https:\/\/statorials.org\/ko\/\",\"name\":\"Statorials\",\"description\":\"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\",\"name\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\"},\"description\":\"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30\",\"sameAs\":[\"https:\/\/statorials.org\/ko\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials","description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.","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:\/\/statorials.org\/ko\/r-gsub-\u1103\u1161\u110c\u116e\u11bc-\u1111\u1162\u1110\u1165\u11ab\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials","og_description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.","og_url":"https:\/\/statorials.org\/ko\/r-gsub-\u1103\u1161\u110c\u116e\u11bc-\u1111\u1162\u1110\u1165\u11ab\/","og_site_name":"Statorials","article_published_time":"2023-07-21T16:15:52+00:00","author":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","Est. reading time":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/","url":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/","name":"\uc5ec\ub7ec \ubaa8\ub378\uc744 \ub300\uccb4\ud558\uae30 \uc704\ud574 R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/ko\/#website"},"datePublished":"2023-07-21T16:15:52+00:00","dateModified":"2023-07-21T16:15:52+00:00","author":{"@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4"},"description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 gsub() \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc790\uc5f4 \ubcc0\uc218\uc758 \uc5ec\ub7ec \ud328\ud134\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95\uc744 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec \uc124\uba85\ud569\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ko\/r-gsub-%e1%84%83%e1%85%a1%e1%84%8c%e1%85%ae%e1%86%bc-%e1%84%91%e1%85%a2%e1%84%90%e1%85%a5%e1%86%ab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\uc9d1","item":"https:\/\/statorials.org\/ko\/"},{"@type":"ListItem","position":2,"name":"R\uc5d0\uc11c gsub()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc5ec\ub7ec \ud15c\ud50c\ub9bf\uc744 \ubc14\uafb8\ub294 \ubc29\ubc95"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ko\/#website","url":"https:\/\/statorials.org\/ko\/","name":"Statorials","description":"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4","name":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8"},"description":"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30","sameAs":["https:\/\/statorials.org\/ko"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/comments?post=2573"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2573\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/media?parent=2573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/categories?post=2573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/tags?post=2573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}