{"id":176829,"date":"2024-05-08T19:18:37","date_gmt":"2024-05-08T11:18:37","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/176829.html"},"modified":"2024-05-08T19:18:43","modified_gmt":"2024-05-08T11:18:43","slug":"python-%e5%ad%97%e7%ac%a6%e4%b8%b2replace%e6%96%b9%e6%b3%95%e6%b2%a1%e8%b5%b7%e4%bd%9c%e7%94%a8%e6%80%8e%e4%b9%88%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/176829.html","title":{"rendered":"python \u5b57\u7b26\u4e32replace\u65b9\u6cd5\u6ca1\u8d77\u4f5c\u7528\u600e\u4e48\u529e"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27060628\/a9974049-b871-4682-936c-d147aa2bfe0a.webp\" alt=\"python \u5b57\u7b26\u4e32replace\u65b9\u6cd5\u6ca1\u8d77\u4f5c\u7528\u600e\u4e48\u529e\" \/><\/p>\n<p><p><strong>Python \u5b57\u7b26\u4e32\u7684 replace \u65b9\u6cd5\u901a\u5e38\u7528\u4e8e\u5b57\u7b26\u4e32\u66ff\u6362\u64cd\u4f5c\u3001\u82e5\u672a\u8d77\u4f5c\u7528\u539f\u56e0\u53ef\u80fd\u5305\u62ec\u5b57\u7b26\u4e32\u4e0d\u53ef\u53d8\u6027\u8bef\u89e3\u3001\u66ff\u6362\u65b9\u6cd5\u672a\u6b63\u786e\u8d4b\u503c\u3001\u539f\u5b57\u7b26\u4e32\u4e2d\u4e0d\u5b58\u5728\u88ab\u66ff\u6362\u5b50\u4e32\u6216\u66ff\u6362\u53c2\u6570\u672a\u6b63\u786e\u4f7f\u7528\u3002<\/strong> \u89e3\u51b3\u4ee5\u4e0a\u95ee\u9898\uff0c\u5e94\u786e\u4fdd\u53d8\u91cf\u63a5\u6536\u66ff\u6362\u7ed3\u679c\u3001\u786e\u4fdd\u88ab\u66ff\u6362\u7684\u5b50\u4e32\u786e\u5b9e\u5b58\u5728\u4e8e\u539f\u5b57\u7b26\u4e32\u4e2d\u3001\u5e76\u4e25\u683c\u6839\u636e\u6587\u6863\u4f7f\u7528\u65b9\u6cd5\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><p>\u8981\u89e3\u51b3 replace \u65b9\u6cd5\u4e0d\u8d77\u4f5c\u7528\u7684\u95ee\u9898\uff0c\u9996\u5148\u9700\u786e\u4fdd\u7406\u89e3 Python \u5b57\u7b26\u4e32\u7684\u4e0d\u53ef\u53d8\u7279\u6027\u3002\u5b57\u7b26\u4e32\u4e00\u65e6\u521b\u5efa\uff0c\u5176\u4e2d\u7684\u5b57\u7b26\u662f\u4e0d\u53ef\u66f4\u6539\u7684\u3002\u8fd9\u610f\u5473\u7740 replace \u65b9\u6cd5\u5b9e\u9645\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\uff0c\u800c\u539f\u59cb\u5b57\u7b26\u4e32\u4fdd\u6301\u4e0d\u53d8\u3002\u56e0\u6b64\uff0c\u8981\u770b\u5230\u66ff\u6362\u6548\u679c\uff0c\u5fc5\u987b\u5c06 replace \u65b9\u6cd5\u8fd4\u56de\u7684\u65b0\u5b57\u7b26\u4e32\u8d4b\u503c\u7ed9\u4e00\u4e2a\u53d8\u91cf\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u82e5\u8981\u628a\u5b57\u7b26\u4e32 &quot;Hello World&quot; \u4e2d\u7684 &quot;World&quot; \u66ff\u6362\u4e3a &quot;Python&quot;\uff0c\u9700\u8981\u8fd9\u6837\u505a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;Hello World&quot;<\/p>\n<p>modified_string = original_string.replace(&quot;World&quot;, &quot;Python&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>original_string<\/code> \u4e0d\u4f1a\u53d8\uff0c<code>modified_string<\/code> \u5c06\u662f <code>&quot;Hello Python&quot;<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u68c0\u67e5\u539f\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u5b50\u4e32<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e replace \u65b9\u6cd5\u6ca1\u6709\u8d77\u4f5c\u7528\u7684\u60c5\u51b5\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u5f85\u66ff\u6362\u7684\u6587\u672c\u5728\u539f\u5b57\u7b26\u4e32\u4e2d\u6839\u672c\u4e0d\u5b58\u5728\u3002\u8981\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u7b80\u5355\u5730\u4f7f\u7528 <code>in<\/code> \u64cd\u4f5c\u7b26\u68c0\u67e5\u539f\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5b58\u5728\u5f85\u66ff\u6362\u7684\u5b50\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;Hello World&quot;<\/p>\n<p>substring = &quot;World&quot;<\/p>\n<p>if substring in original_string:<\/p>\n<p>    modified_string = original_string.replace(substring, &quot;Python&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The substring was not found in the original string.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u6b63\u786e\u8d4b\u503c\u66ff\u6362\u7ed3\u679c<\/h3>\n<\/p>\n<p><p>\u518d\u6b21\u5f3a\u8c03\uff0c\u7531\u4e8e\u5b57\u7b26\u4e32\u7684\u4e0d\u53ef\u53d8\u6027\uff0creplace \u65b9\u6cd5\u4e0d\u4f1a\u5c31\u5730\u4fee\u6539\u539f\u5b57\u7b26\u4e32\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e2a\u65b0\u5b57\u7b26\u4e32\u3002\u56e0\u6b64\uff0c\u5982\u679c\u6ca1\u6709\u5c06\u7ed3\u679c\u8d4b\u503c\u7ed9\u4e00\u4e2a\u53d8\u91cf\uff0c\u90a3\u4e48\u66ff\u6362\u5c06\u4e0d\u4f1a\u751f\u6548\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9519\u8bef\u7684\u7528\u6cd5<\/p>\n<p>original_string = &quot;Hello World&quot;<\/p>\n<p>original_string.replace(&quot;World&quot;, &quot;Python&quot;)<\/p>\n<p>print(original_string) # \u5c06\u8f93\u51fa &quot;Hello World&quot;\uff0c\u800c\u975e &quot;Hello Python&quot;<\/p>\n<h2><strong>\u6b63\u786e\u7684\u7528\u6cd5<\/strong><\/h2>\n<p>original_string = &quot;Hello World&quot;<\/p>\n<p>original_string = original_string.replace(&quot;World&quot;, &quot;Python&quot;)<\/p>\n<p>print(original_string) # \u8f93\u51fa &quot;Hello Python&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u786e\u4fdd\u6b63\u786e\u4f7f\u7528\u66ff\u6362\u53c2\u6570<\/h3>\n<\/p>\n<p><p>replace \u65b9\u6cd5\u901a\u5e38\u63a5\u53d7\u4e09\u4e2a\u53c2\u6570\uff1a\u88ab\u66ff\u6362\u7684\u5b50\u4e32\uff08old\uff09\u3001\u7528\u4e8e\u66ff\u6362\u7684\u5b50\u4e32\uff08new\uff09\u3001\u548c\u53ef\u9009\u7684\u66ff\u6362\u6b21\u6570\uff08max\uff09\u3002\u5982\u679c\u7b2c\u4e09\u4e2a\u53c2\u6570\u88ab\u9519\u8bef\u5730\u8bbe\u7f6e\uff0c\u53ef\u80fd\u4f1a\u963b\u6b62\u9884\u671f\u5185\u7684\u66ff\u6362\u884c\u4e3a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;Hello World World World&quot;<\/p>\n<h2><strong>\u53ea\u66ff\u6362\u4e00\u6b21<\/strong><\/h2>\n<p>modified_string = original_string.replace(&quot;World&quot;, &quot;Python&quot;, 1)<\/p>\n<p>print(modified_string) # \u8f93\u51fa &quot;Hello Python World World&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u7279\u6b8a\u66ff\u6362\u60c5\u666f<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5904\u7406\u4e00\u4e9b\u7279\u6b8a\u7684\u66ff\u6362\u60c5\u666f\uff0c\u6bd4\u5982\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u6b8a\u5b57\u7b26\u6216\u8005\u6a21\u5f0f\u5339\u914d\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5229\u7528 Python \u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5757 <code>re<\/code> \u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u5904\u7406\u5b57\u7b26\u4e32\u66ff\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>original_string = &quot;Hello World. World is great.&quot;<\/p>\n<h2><strong>\u66ff\u6362\u6240\u6709\u7684\u975e\u5355\u8bcd\u5b57\u7b26<\/strong><\/h2>\n<p>modified_string = re.sub(r&#039;\\W+&#039;, &#039;&#039;, original_string)<\/p>\n<p>print(modified_string) # \u8f93\u51fa &quot;HelloWorldWorldisgreat&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5904\u7406\u5b57\u7b26\u4e32\u65f6\uff0c\u4e86\u89e3 Python \u6587\u6863\u4e2d\u7684\u76f8\u5173\u4fe1\u606f\u4e5f\u662f\u5f88\u91cd\u8981\u7684\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u786e\u4fdd\u6b63\u786e\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u5e76\u7406\u89e3\u5176\u884c\u4e3a\u3002\u5982\u679c\u5728\u66ff\u6362\u65f6\u9047\u5230\u95ee\u9898\uff0c\u9996\u5148\u56de\u987e\u4ee3\u7801\u786e\u4fdd\u6240\u6709\u7684\u6b65\u9aa4\u90fd\u6b63\u786e\u65e0\u8bef\uff0c\u7136\u540e\u518d\u6b21\u8bd5\u9a8c\u3002\u901a\u5e38\uff0c\u4ed4\u7ec6\u68c0\u67e5\u548c\u6d4b\u8bd5\u53ef\u4ee5\u89e3\u51b3\u5927\u90e8\u5206\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4e3a\u4ec0\u4e48\u4f7f\u7528Python\u7684\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u6ca1\u6709\u8fbe\u5230\u9884\u671f\u6548\u679c\uff1f<\/strong><br \/>\n\u4f7f\u7528Python\u7684\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u65f6\uff0c\u5982\u679c\u6ca1\u6709\u8d77\u4f5c\u7528\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u4ee5\u4e0b\u539f\u56e0\uff1a<\/p>\n<ul>\n<li>\u9996\u5148\uff0c\u60a8\u7684\u4ee3\u7801\u4e2d\u53ef\u80fd\u5b58\u5728\u9519\u8bef\uff0c\u4f8b\u5982\u9519\u8bef\u7684\u65b9\u6cd5\u8c03\u7528\u6216\u9519\u8bef\u7684\u8bed\u6cd5\u3002\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u60a8\u7684\u4ee3\u7801\uff0c\u786e\u4fdd\u6b63\u786e\u4f7f\u7528\u4e86replace\u65b9\u6cd5\uff0c\u5e76\u4e14\u53c2\u6570\u4f20\u9012\u6b63\u786e\u3002<\/li>\n<li>\u53e6\u5916\uff0creplace\u65b9\u6cd5\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\uff0c\u56e0\u6b64\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u4e0d\u5339\u914d\u7684\u5927\u5c0f\u5199\uff0creplace\u65b9\u6cd5\u5c06\u4e0d\u8d77\u4f5c\u7528\u3002\u8bf7\u786e\u4fdd\u5728\u8c03\u7528replace\u65b9\u6cd5\u65f6\uff0c\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u4e0e\u8981\u66ff\u6362\u7684\u5185\u5bb9\u5b8c\u5168\u5339\u914d\u3002<\/li>\n<li>\u8fd8\u6709\u4e00\u79cd\u53ef\u80fd\u662f\uff0creplace\u65b9\u6cd5\u53ea\u4f1a\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5339\u914d\u9879\u3002\u5982\u679c\u60a8\u671f\u671b\u66ff\u6362\u6240\u6709\u5339\u914d\u9879\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u5168\u5c40\u66ff\u6362\u3002<br \/>\n\u7efc\u4e0a\u6240\u8ff0\uff0c\u5982\u679creplace\u65b9\u6cd5\u6ca1\u6709\u8d77\u4f5c\u7528\uff0c\u60a8\u53ef\u4ee5\u68c0\u67e5\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\u3001\u5927\u5c0f\u5199\u5339\u914d\u4ee5\u53ca\u9700\u8981\u66ff\u6362\u7684\u5185\u5bb9\u662f\u5426\u7b26\u5408\u9884\u671f\u3002\u5982\u679c\u4ecd\u7136\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u6216\u624b\u52a8\u5904\u7406\u5b57\u7b26\u4e32\u3002<\/li>\n<\/ul>\n<p><strong>2. \u6709\u6ca1\u6709\u5176\u4ed6\u66ff\u4ee3Python\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u7684\u65b9\u6cd5\uff1f<\/strong><br \/>\n\u9664\u4e86\u4f7f\u7528Python\u7684\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u5b57\u7b26\u4e32\u66ff\u6362\u7684\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684sub\u65b9\u6cd5\u6765\u8fdb\u884c\u5168\u5c40\u66ff\u6362\uff0c\u8be5\u65b9\u6cd5\u4f1a\u5c06\u6240\u6709\u5339\u914d\u9879\u90fd\u66ff\u6362\u6389\u3002\u53e6\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u62c6\u5206\u5b57\u7b26\u4e32\u6210\u5217\u8868\uff0c\u7136\u540e\u4f7f\u7528\u5217\u8868\u7684join\u65b9\u6cd5\u6765\u5b9e\u73b0\u66ff\u6362\u3002\u6b64\u5916\uff0c\u5982\u679c\u60a8\u5904\u7406\u7684\u662f\u8f83\u5927\u7684\u6587\u672c\u6587\u4ef6\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u6587\u4ef6IO\u6765\u8fdb\u884c\u66ff\u6362\u64cd\u4f5c\u3002\u56e0\u6b64\uff0c\u5728\u89e3\u51b3\u5b57\u7b26\u4e32\u66ff\u6362\u95ee\u9898\u65f6\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u8c03\u8bd5Python\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u65e0\u6548\u7684\u95ee\u9898\uff1f<\/strong><br \/>\n\u5982\u679c\u60a8\u4f7f\u7528Python\u7684\u5b57\u7b26\u4e32replace\u65b9\u6cd5\u65f6\u9047\u5230\u95ee\u9898\uff0c\u5e76\u4e14\u65e0\u6cd5\u8fbe\u5230\u9884\u671f\u6548\u679c\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u6cd5\u8fdb\u884c\u8c03\u8bd5\uff1a<\/p>\n<ul>\n<li>\u9996\u5148\uff0c\u68c0\u67e5\u4ee3\u7801\u4e2d\u662f\u5426\u6709\u5176\u4ed6\u9519\u8bef\u6216\u8bed\u6cd5\u95ee\u9898\uff0c\u786e\u4fddreplace\u65b9\u6cd5\u7684\u8c03\u7528\u6b63\u786e\u65e0\u8bef\u3002<\/li>\n<li>\u5176\u6b21\uff0c\u6253\u5370\u8981\u66ff\u6362\u7684\u5b57\u7b26\u4e32\u4ee5\u53ca\u76ee\u6807\u5b57\u7b26\u4e32\uff0c\u4ee5\u786e\u5b9a\u5b83\u4eec\u662f\u5426\u5339\u914d\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528print\u8bed\u53e5\u6216\u8c03\u8bd5\u5668\u6765\u8ddf\u8e2a\u53d8\u91cf\u7684\u503c\u3002<\/li>\n<li>\u8fd8\u53ef\u4ee5\u5c1d\u8bd5\u7b80\u5316\u95ee\u9898\uff0c\u4f7f\u7528\u7b80\u5355\u7684\u793a\u4f8b\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4ee5\u6392\u9664\u5176\u4ed6\u56e0\u7d20\u7684\u5e72\u6270\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u548c\u66ff\u6362\u76ee\u6807\uff0c\u5c3d\u91cf\u51cf\u5c11\u5176\u4ed6\u56e0\u7d20\u7684\u5f71\u54cd\u3002<\/li>\n<li>\u53e6\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u4e00\u4e9b\u8f85\u52a9\u8f93\u51fa\u8bed\u53e5\u6216\u65e5\u5fd7\u8bb0\u5f55\uff0c\u4ee5\u4fbf\u66f4\u8be6\u7ec6\u5730\u4e86\u89e3\u4ee3\u7801\u6267\u884c\u7684\u8fc7\u7a0b\u548c\u7ed3\u679c\u3002<br \/>\n\u901a\u8fc7\u4ee5\u4e0a\u8c03\u8bd5\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5b9a\u4f4d\u95ee\u9898\u6240\u5728\uff0c\u5e76\u627e\u5230\u89e3\u51b3\u65b9\u6cd5\u3002\u5982\u679c\u4ecd\u7136\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u4ee5\u5728\u76f8\u5173\u7684Python\u793e\u533a\u6216\u8bba\u575b\u4e0a\u5bfb\u6c42\u5e2e\u52a9\uff0c\u5411\u5176\u4ed6\u5f00\u53d1\u8005\u8bf7\u6559\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Python \u5b57\u7b26\u4e32\u7684 replace \u65b9\u6cd5\u901a\u5e38\u7528\u4e8e\u5b57\u7b26\u4e32\u66ff\u6362\u64cd\u4f5c\u3001\u82e5\u672a\u8d77\u4f5c\u7528\u539f\u56e0\u53ef\u80fd\u5305\u62ec\u5b57\u7b26\u4e32\u4e0d\u53ef\u53d8\u6027\u8bef\u89e3\u3001 [&hellip;]","protected":false},"author":3,"featured_media":176841,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/176829"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=176829"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/176829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/176841"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=176829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=176829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=176829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}