{"id":1123944,"date":"2025-01-08T19:37:04","date_gmt":"2025-01-08T11:37:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1123944.html"},"modified":"2025-01-08T19:37:08","modified_gmt":"2025-01-08T11:37:08","slug":"python3%e5%a6%82%e4%bd%95%e5%87%8f%e5%8e%bb%e7%9b%b8%e5%ba%94%e7%9a%84%e5%ad%97%e7%ac%a6%e4%b8%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1123944.html","title":{"rendered":"python3\u5982\u4f55\u51cf\u53bb\u76f8\u5e94\u7684\u5b57\u7b26\u4e32"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25085215\/e8d5461c-aabe-46d7-8405-f48f1e70142c.webp\" alt=\"python3\u5982\u4f55\u51cf\u53bb\u76f8\u5e94\u7684\u5b57\u7b26\u4e32\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python 3\u4e2d\u51cf\u53bb\u76f8\u5e94\u7684\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408\u64cd\u4f5c\u3001\u66ff\u6362\u64cd\u4f5c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u7b49<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5b57\u7b26\u4e32\u7684replace\u65b9\u6cd5\uff0c\u6216\u8005\u901a\u8fc7\u96c6\u5408\u8fd0\u7b97\u6765\u5b9e\u73b0\u5b57\u7b26\u4e32\u51cf\u6cd5\u3002<strong>replace\u65b9\u6cd5<\/strong>\u662f\u6700\u5e38\u89c1\u4e14\u6700\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u5b50\u5b57\u7b26\u4e32\u4e3a\u53e6\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u5728\u6b64\u57fa\u7840\u4e0a\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u5904\u7406\u66f4\u590d\u6742\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u66ff\u6362\u6cd5<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u66ff\u6362\u6cd5\u662f\u6700\u76f4\u63a5\u7684\u4e00\u79cd\u65b9\u6cd5\uff0c\u5b83\u5229\u7528\u4e86Python\u7684\u5185\u5efa\u51fd\u6570replace\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u5220\u9664\u7279\u5b9a\u5b50\u5b57\u7b26\u4e32\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>replace\u65b9\u6cd5\u7684\u57fa\u672c\u7528\u6cd5\u662f\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u67d0\u4e2a\u5b50\u5b57\u7b26\u4e32\u66ff\u6362\u4e3a\u53e6\u4e00\u4e2a\u5b50\u5b57\u7b26\u4e32\u3002\u5982\u679c\u66ff\u6362\u7684\u5b50\u5b57\u7b26\u4e32\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff0c\u4fbf\u53ef\u4ee5\u5b9e\u73b0\u5220\u9664\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;Hello World!&quot;<\/p>\n<p>sub_string = &quot;World&quot;<\/p>\n<p>result_string = original_string.replace(sub_string, &quot;&quot;)<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;Hello !&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>1.2 \u591a\u6b21\u66ff\u6362<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5220\u9664\u591a\u4e2a\u4e0d\u540c\u7684\u5b50\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u6b21replace\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;Hello World! Python is great!&quot;<\/p>\n<p>sub_strings = [&quot;World&quot;, &quot;Python&quot;]<\/p>\n<p>for sub in sub_strings:<\/p>\n<p>    original_string = original_string.replace(sub, &quot;&quot;)<\/p>\n<p>print(original_string)  # \u8f93\u51fa &quot;Hello !  is great!&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u6cd5<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\uff08Regular Expressions\uff09\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u5b57\u7b26\u4e32\u5904\u7406\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5220\u9664\u7b26\u5408\u67d0\u79cd\u6a21\u5f0f\u7684\u5b50\u5b57\u7b26\u4e32\u7684\u60c5\u51b5\u3002Python\u7684re\u6a21\u5757\u652f\u6301\u6b63\u5219\u8868\u8fbe\u5f0f\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u4f7f\u7528re.sub\u51fd\u6570<\/h4>\n<\/p>\n<p><p>re.sub\u51fd\u6570\u7528\u4e8e\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u5339\u914d\u9879\uff0c\u53ef\u4ee5\u5c06\u5339\u914d\u7684\u5b50\u5b57\u7b26\u4e32\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff0c\u5b9e\u73b0\u5220\u9664\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>original_string = &quot;Hello World! Welcome to the Python World!&quot;<\/p>\n<p>pattern = r&quot;World&quot;<\/p>\n<p>result_string = re.sub(pattern, &quot;&quot;, original_string)<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;Hello ! Welcome to the Python !&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2.2 \u5220\u9664\u7b26\u5408\u7279\u5b9a\u6a21\u5f0f\u7684\u5b50\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u7528\u6765\u5220\u9664\u7b26\u5408\u7279\u5b9a\u6a21\u5f0f\u7684\u5b50\u5b57\u7b26\u4e32\uff0c\u4f8b\u5982\u5220\u9664\u6240\u6709\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>original_string = &quot;There are 123 apples and 45 bananas.&quot;<\/p>\n<p>pattern = r&quot;\\d+&quot;  # \u5339\u914d\u4e00\u4e2a\u6216\u591a\u4e2a\u6570\u5b57<\/p>\n<p>result_string = re.sub(pattern, &quot;&quot;, original_string)<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;There are  apples and  bananas.&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u96c6\u5408\u64cd\u4f5c\u6cd5<\/h3>\n<\/p>\n<p><p>\u96c6\u5408\u64cd\u4f5c\u6cd5\u901a\u8fc7\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u96c6\u5408\uff0c\u518d\u8fdb\u884c\u96c6\u5408\u5dee\u8fd0\u7b97\u6765\u5b9e\u73b0\u5b57\u7b26\u4e32\u51cf\u6cd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5b57\u7b26\u7ea7\u522b\u7684\u64cd\u4f5c\uff0c\u800c\u4e0d\u662f\u5b50\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h4>3.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;abcdefg&quot;<\/p>\n<p>remove_string = &quot;bdg&quot;<\/p>\n<p>result_string = &#39;&#39;.join(set(original_string) - set(remove_string))<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;aefc&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3.2 \u4fdd\u6301\u539f\u987a\u5e8f<\/h4>\n<\/p>\n<p><p>\u96c6\u5408\u64cd\u4f5c\u6cd5\u4f1a\u6253\u4e71\u5b57\u7b26\u4e32\u7684\u987a\u5e8f\uff0c\u5982\u679c\u9700\u8981\u4fdd\u6301\u539f\u987a\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_string = &quot;abcdefg&quot;<\/p>\n<p>remove_string = &quot;bdg&quot;<\/p>\n<p>result_string = &#39;&#39;.join([char for char in original_string if char not in set(remove_string)])<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;acef&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u9012\u5f52\u6cd5<\/h3>\n<\/p>\n<p><p>\u9012\u5f52\u6cd5\u662f\u4e00\u79cd\u7a0d\u5fae\u590d\u6742\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u901a\u8fc7\u9012\u5f52\u8c03\u7528\u51fd\u6570\u6765\u9010\u6b65\u5220\u9664\u5b50\u5b57\u7b26\u4e32\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u5904\u7406\u5d4c\u5957\u60c5\u51b5\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>4.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_substring(s, sub):<\/p>\n<p>    if sub in s:<\/p>\n<p>        return remove_substring(s.replace(sub, &quot;&quot;), sub)<\/p>\n<p>    return s<\/p>\n<p>original_string = &quot;abcabcabc&quot;<\/p>\n<p>sub_string = &quot;abc&quot;<\/p>\n<p>result_string = remove_substring(original_string, sub_string)<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u5916\u90e8\u5e93<\/h3>\n<\/p>\n<p><p>Python\u6709\u8bb8\u591a\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u7b80\u5316\u5b57\u7b26\u4e32\u64cd\u4f5c\uff0c\u4f8b\u5982strman\u3001pyparsing\u7b49\u3002<\/p>\n<\/p>\n<p><h4>5.1 \u4f7f\u7528strman\u5e93<\/h4>\n<\/p>\n<p><p>strman\u662f\u4e00\u4e2a\u7528\u4e8e\u5b57\u7b26\u4e32\u5904\u7406\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u65b9\u4fbf\u7684\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9996\u5148\u9700\u8981\u5b89\u88c5strman\u5e93<\/p>\n<h2><strong>pip install strman<\/strong><\/h2>\n<p>from strman import remove<\/p>\n<p>original_string = &quot;Hello World! Welcome to the World of Python!&quot;<\/p>\n<p>sub_string = &quot;World&quot;<\/p>\n<p>result_string = remove(original_string, sub_string)<\/p>\n<p>print(result_string)  # \u8f93\u51fa &quot;Hello ! Welcome to the of Python!&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python 3\u4e2d\uff0c\u901a\u8fc7\u5b57\u7b26\u4e32\u66ff\u6362\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u96c6\u5408\u64cd\u4f5c\u3001\u9012\u5f52\u6cd5\u548c\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b49\u591a\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5b57\u7b26\u4e32\u51cf\u6cd5\u64cd\u4f5c\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u6838\u5fc3\u8981\u70b9\uff1a<\/strong>  <\/p>\n<\/p>\n<ul>\n<li><strong>\u5b57\u7b26\u4e32\u66ff\u6362\u6cd5<\/strong>\uff1a\u7b80\u5355\u76f4\u63a5\uff0c\u9002\u5408\u56fa\u5b9a\u5b50\u5b57\u7b26\u4e32\u7684\u5220\u9664\u3002  <\/li>\n<li><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u6cd5<\/strong>\uff1a\u529f\u80fd\u5f3a\u5927\uff0c\u9002\u5408\u590d\u6742\u6a21\u5f0f\u5339\u914d\u3002  <\/li>\n<li><strong>\u96c6\u5408\u64cd\u4f5c\u6cd5<\/strong>\uff1a\u9002\u5408\u5b57\u7b26\u7ea7\u522b\u64cd\u4f5c\uff0c\u4f46\u53ef\u80fd\u4f1a\u6253\u4e71\u987a\u5e8f\u3002  <\/li>\n<li><strong>\u9012\u5f52\u6cd5<\/strong>\uff1a\u9002\u5408\u5d4c\u5957\u60c5\u51b5\uff0c\u4f46\u5b9e\u73b0\u8f83\u590d\u6742\u3002  <\/li>\n<li><strong>\u4f7f\u7528\u5916\u90e8\u5e93<\/strong>\uff1a\u7b80\u5316\u64cd\u4f5c\uff0c\u4f46\u9700\u8981\u989d\u5916\u4f9d\u8d56\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5904\u7406\u5404\u79cd\u5b57\u7b26\u4e32\u51cf\u6cd5\u64cd\u4f5c\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python3\u4e2d\u5220\u9664\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\uff1f<\/strong><br \/>\u5728Python3\u4e2d\uff0c\u5220\u9664\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace()<\/code>\u65b9\u6cd5\u6216\u8005\u5217\u8868\u63a8\u5bfc\u5f0f\u3002<code>replace()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u76f4\u63a5\u66ff\u6362\u4e3a\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\uff0c\u4f8b\u5982\uff1a<code>my_string.replace(&#39;\u8981\u5220\u9664\u7684\u5b57\u7b26&#39;, &#39;&#39;)<\/code>\u3002\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u5904\u7406\u590d\u6742\u7684\u5220\u9664\u9700\u6c42\uff0c\u6bd4\u5982\uff1a<code>&#39;&#39;.join([char for char in my_string if char not in &#39;\u8981\u5220\u9664\u7684\u5b57\u7b26&#39;])<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u540c\u65f6\u5220\u9664\u591a\u4e2a\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Python3\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u5207\u7247\u64cd\u4f5c\uff1f<\/strong><br \/>\u5b57\u7b26\u4e32\u5207\u7247\u662fPython\u4e2d\u975e\u5e38\u5f3a\u5927\u7684\u529f\u80fd\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u8d77\u59cb\u548c\u7ed3\u675f\u7d22\u5f15\u6765\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u67d0\u4e2a\u90e8\u5206\u3002\u4f8b\u5982\uff0c<code>my_string[\u8d77\u59cb\u7d22\u5f15:\u7ed3\u675f\u7d22\u5f15]<\/code>\u5c06\u8fd4\u56de\u4ece\u8d77\u59cb\u7d22\u5f15\u5230\u7ed3\u675f\u7d22\u5f15\u4e4b\u95f4\u7684\u5b50\u5b57\u7b26\u4e32\u3002\u5982\u679c\u60a8\u60f3\u4ece\u5b57\u7b26\u4e32\u7684\u5f00\u5934\u6216\u7ed3\u5c3e\u5f00\u59cb\u5207\u7247\uff0c\u53ef\u4ee5\u7701\u7565\u76f8\u5e94\u7684\u7d22\u5f15\uff0c\u5982<code>my_string[:\u7ed3\u675f\u7d22\u5f15]<\/code>\u6216<code>my_string[\u8d77\u59cb\u7d22\u5f15:]<\/code>\u3002<\/p>\n<p><strong>Python3\u4e2d\u5982\u4f55\u5904\u7406\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u8f6c\u6362\uff1f<\/strong><br \/>\u5728Python3\u4e2d\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u6539\u53d8\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u3002\u4f7f\u7528<code>upper()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u4f7f\u7528<code>lower()<\/code>\u65b9\u6cd5\u5219\u53ef\u4ee5\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u6b64\u5916\uff0c<code>capitalize()<\/code>\u65b9\u6cd5\u4f1a\u5c06\u5b57\u7b26\u4e32\u7684\u9996\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4f59\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u5982\u679c\u9700\u8981\u5c06\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u5927\u5199\uff0c\u53ef\u4ee5\u4f7f\u7528<code>title()<\/code>\u65b9\u6cd5\u3002\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u4e0d\u4f1a\u6539\u53d8\u539f\u59cb\u5b57\u7b26\u4e32\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python 3\u4e2d\u51cf\u53bb\u76f8\u5e94\u7684\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408\u64cd\u4f5c\u3001\u66ff\u6362\u64cd\u4f5c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5b57\u7b26 [&hellip;]","protected":false},"author":3,"featured_media":1123959,"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\/1123944"}],"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=1123944"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1123944\/revisions"}],"predecessor-version":[{"id":1123963,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1123944\/revisions\/1123963"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1123959"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1123944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1123944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1123944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}