{"id":1105461,"date":"2025-01-08T16:31:07","date_gmt":"2025-01-08T08:31:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1105461.html"},"modified":"2025-01-08T16:31:12","modified_gmt":"2025-01-08T08:31:12","slug":"python%e9%87%8c%e9%9d%a2%e5%a6%82%e4%bd%95%e6%95%b4%e6%ae%b5%e5%8e%bb%e6%8e%89%e5%88%b6%e8%a1%a8%e7%ac%a6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1105461.html","title":{"rendered":"python\u91cc\u9762\u5982\u4f55\u6574\u6bb5\u53bb\u6389\u5236\u8868\u7b26"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070342\/6eed91d6-30cb-4ba0-ac8e-743709e60384.webp\" alt=\"python\u91cc\u9762\u5982\u4f55\u6574\u6bb5\u53bb\u6389\u5236\u8868\u7b26\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u7684\u5236\u8868\u7b26\uff08Tab\u5b57\u7b26\uff09\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u3002<strong>\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u6709\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace<\/code>\u65b9\u6cd5\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u6216\u8005\u901a\u8fc7\u904d\u5386\u5b57\u7b26\u4e32\u5e76\u91cd\u5efa\u5b57\u7b26\u4e32<\/strong>\u3002\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u4ee3\u7801\u793a\u4f8b\u548c\u89e3\u91ca\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Python\u7684\u5b57\u7b26\u4e32\u5bf9\u8c61\u6709\u4e00\u4e2a<code>replace<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7528\u6765\u66ff\u6362\u5b50\u5b57\u7b26\u4e32\u3002\u8981\u53bb\u6389\u5236\u8868\u7b26\uff0c\u53ea\u9700\u5c06\u5236\u8868\u7b26\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_tabs(text):<\/p>\n<p>    return text.replace(&#39;\\t&#39;, &#39;&#39;)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>text_with_tabs = &quot;Hello,\\tWorld!\\tThis is a\\ttest.&quot;<\/p>\n<p>clean_text = remove_tabs(text_with_tabs)<\/p>\n<p>print(clean_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u5b57\u7b26\u4e32\u5e76\u8fd4\u56de\u4e00\u4e2a\u53bb\u6389\u6240\u6709\u5236\u8868\u7b26\u540e\u7684\u65b0\u5b57\u7b26\u4e32\u3002\u6211\u4eec\u4f7f\u7528<code>replace<\/code>\u65b9\u6cd5\u5c06\u5236\u8868\u7b26\uff08<code>\\t<\/code>\uff09\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff08<code>&#39;&#39;<\/code>\uff09\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5b57\u7b26\u4e32\u5904\u7406\u5de5\u5177\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u6765\u5904\u7406\u6b63\u5219\u8868\u8fbe\u5f0f\u3002\u4e3a\u4e86\u53bb\u6389\u5236\u8868\u7b26\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684<code>sub<\/code>\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def remove_tabs_with_regex(text):<\/p>\n<p>    return re.sub(r&#39;\\t&#39;, &#39;&#39;, text)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>text_with_tabs = &quot;Hello,\\tWorld!\\tThis is a\\ttest.&quot;<\/p>\n<p>clean_text = remove_tabs_with_regex(text_with_tabs)<\/p>\n<p>print(clean_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs_with_regex<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<code>r&#39;\\t&#39;<\/code>\u5339\u914d\u5236\u8868\u7b26\uff0c\u5e76\u4f7f\u7528<code>re.sub<\/code>\u65b9\u6cd5\u5c06\u5176\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u904d\u5386\u5b57\u7b26\u4e32\u5e76\u91cd\u5efa\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u60f3\u8981\u5bf9\u6bcf\u4e2a\u5b57\u7b26\u8fdb\u884c\u68c0\u67e5\uff0c\u53ef\u4ee5\u904d\u5386\u5b57\u7b26\u4e32\u5e76\u91cd\u5efa\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_tabs_by_traversal(text):<\/p>\n<p>    return &#39;&#39;.join(char for char in text if char != &#39;\\t&#39;)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>text_with_tabs = &quot;Hello,\\tWorld!\\tThis is a\\ttest.&quot;<\/p>\n<p>clean_text = remove_tabs_by_traversal(text_with_tabs)<\/p>\n<p>print(clean_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs_by_traversal<\/code>\u51fd\u6570\uff0c\u901a\u8fc7\u5217\u8868\u63a8\u5bfc\u5f0f\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u5c06\u4e0d\u662f\u5236\u8868\u7b26\u7684\u5b57\u7b26\u8fde\u63a5\u6210\u4e00\u4e2a\u65b0\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u591a\u884c\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0a\u65b9\u6cd5\u9002\u7528\u4e8e\u5904\u7406\u5355\u884c\u5b57\u7b26\u4e32\u3002\u5982\u679c\u4f60\u9700\u8981\u5904\u7406\u591a\u884c\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u76f8\u540c\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_tabs_multiline(text):<\/p>\n<p>    return &#39;\\n&#39;.join(line.replace(&#39;\\t&#39;, &#39;&#39;) for line in text.split(&#39;\\n&#39;))<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>multiline_text_with_tabs = &quot;Hello,\\tWorld!\\nThis\\tis a\\ntest.&quot;<\/p>\n<p>clean_multiline_text = remove_tabs_multiline(multiline_text_with_tabs)<\/p>\n<p>print(clean_multiline_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs_multiline<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u9996\u5148\u5c06\u591a\u884c\u5b57\u7b26\u4e32\u6309\u884c\u5206\u5272\uff0c\u7136\u540e\u5bf9\u6bcf\u884c\u4f7f\u7528<code>replace<\/code>\u65b9\u6cd5\u53bb\u6389\u5236\u8868\u7b26\uff0c\u6700\u540e\u5c06\u6bcf\u884c\u91cd\u65b0\u8fde\u63a5\u6210\u4e00\u4e2a\u591a\u884c\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528<code>translate<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Python\u7684\u5b57\u7b26\u4e32\u5bf9\u8c61\u8fd8\u6709\u4e00\u4e2a<code>translate<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7528\u6765\u66ff\u6362\u591a\u4e2a\u5b57\u7b26\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>str.maketrans<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u66ff\u6362\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_tabs_translate(text):<\/p>\n<p>    return text.translate(str.maketrans(&#39;&#39;, &#39;&#39;, &#39;\\t&#39;))<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>text_with_tabs = &quot;Hello,\\tWorld!\\tThis is a\\ttest.&quot;<\/p>\n<p>clean_text = remove_tabs_translate(text_with_tabs)<\/p>\n<p>print(clean_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs_translate<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u4f7f\u7528<code>translate<\/code>\u65b9\u6cd5\u548c<code>str.maketrans<\/code>\u65b9\u6cd5\u53bb\u6389\u6240\u6709\u5236\u8868\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u5904\u7406\u6587\u4ef6\u4e2d\u7684\u5236\u8868\u7b26<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u9700\u8981\u5904\u7406\u6587\u4ef6\u4e2d\u7684\u5236\u8868\u7b26\uff0c\u53ef\u4ee5\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\uff0c\u53bb\u6389\u5236\u8868\u7b26\u540e\u518d\u5199\u56de\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_tabs_from_file(input_file, output_file):<\/p>\n<p>    with open(input_file, &#39;r&#39;) as file:<\/p>\n<p>        content = file.read()<\/p>\n<p>    clean_content = content.replace(&#39;\\t&#39;, &#39;&#39;)<\/p>\n<p>    with open(output_file, &#39;w&#39;) as file:<\/p>\n<p>        file.write(clean_content)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>input_file = &#39;input.txt&#39;<\/p>\n<p>output_file = &#39;output.txt&#39;<\/p>\n<p>remove_tabs_from_file(input_file, output_file)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a<code>remove_tabs_from_file<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u8f93\u5165\u6587\u4ef6\u548c\u8f93\u51fa\u6587\u4ef6\u8def\u5f84\uff0c\u8bfb\u53d6\u8f93\u5165\u6587\u4ef6\u5185\u5bb9\uff0c\u53bb\u6389\u5236\u8868\u7b26\u540e\uff0c\u5c06\u6e05\u7406\u540e\u7684\u5185\u5bb9\u5199\u5165\u8f93\u51fa\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u4f7f\u7528<code>str.lstrip<\/code>\u548c<code>str.rstrip<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u53ea\u60f3\u53bb\u6389\u5b57\u7b26\u4e32\u5f00\u5934\u6216\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.lstrip<\/code>\u548c<code>str.rstrip<\/code>\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_leading_tabs(text):<\/p>\n<p>    return text.lstrip(&#39;\\t&#39;)<\/p>\n<p>def remove_tr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ling_tabs(text):<\/p>\n<p>    return text.rstrip(&#39;\\t&#39;)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>text_with_tabs = &quot;\\tHello, World!\\t&quot;<\/p>\n<p>clean_text_leading = remove_leading_tabs(text_with_tabs)<\/p>\n<p>clean_text_trailing = remove_trailing_tabs(text_with_tabs)<\/p>\n<p>print(f&quot;Leading Tabs Removed: &#39;{clean_text_leading}&#39;&quot;)<\/p>\n<p>print(f&quot;Trailing Tabs Removed: &#39;{clean_text_trailing}&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86<code>remove_leading_tabs<\/code>\u548c<code>remove_trailing_tabs<\/code>\u51fd\u6570\uff0c\u7528\u4e8e\u53bb\u6389\u5b57\u7b26\u4e32\u5f00\u5934\u548c\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u7684\u5236\u8868\u7b26\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>replace<\/code>\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u904d\u5386\u5b57\u7b26\u4e32\u91cd\u5efa\u5b57\u7b26\u4e32\uff0c\u4ee5\u53ca\u4f7f\u7528<code>translate<\/code>\u65b9\u6cd5\u3002\u5982\u679c\u9700\u8981\u5904\u7406\u6587\u4ef6\u4e2d\u7684\u5236\u8868\u7b26\uff0c\u53ef\u4ee5\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u5e76\u8fdb\u884c\u5904\u7406\u3002\u5bf9\u4e8e\u53ea\u9700\u8981\u53bb\u6389\u5f00\u5934\u6216\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.lstrip<\/code>\u548c<code>str.rstrip<\/code>\u65b9\u6cd5\u3002\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5305\u542b\u5236\u8868\u7b26\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u53bb\u6389\u5b57\u7b26\u4e32\u5f00\u5934\u548c\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>strip()<\/code>\u65b9\u6cd5\u6765\u53bb\u6389\u5b57\u7b26\u4e32\u5f00\u5934\u548c\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\u3002\u793a\u4f8b\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">text = &quot;\\t\\tHello, World!\\t\\t&quot;\ncleaned_text = text.strip()  # \u53bb\u6389\u5f00\u5934\u548c\u7ed3\u5c3e\u7684\u5236\u8868\u7b26\nprint(cleaned_text)  # \u8f93\u51fa: Hello, World!\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u95f4\u7684\u5236\u8868\u7b26\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u95f4\u7684\u5236\u8868\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528<code>replace()<\/code>\u65b9\u6cd5\u3002\u8be5\u65b9\u6cd5\u53ef\u4ee5\u5c06\u6240\u6709\u7684\u5236\u8868\u7b26\u66ff\u6362\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff1a  <\/p>\n<pre><code class=\"language-python\">text = &quot;Hello,\\tWorld!\\tWelcome to Python.&quot;\ncleaned_text = text.replace(&quot;\\t&quot;, &quot;&quot;)  # \u53bb\u6389\u4e2d\u95f4\u7684\u5236\u8868\u7b26\nprint(cleaned_text)  # \u8f93\u51fa: Hello,World!Welcome to Python.\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u7684\u5236\u8868\u7b26\uff1f<\/strong><br \/>\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u66f4\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u5904\u7406\u5b57\u7b26\u4e32\u3002\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u6765\u53bb\u6389\u5236\u8868\u7b26\uff1a  <\/p>\n<pre><code class=\"language-python\">import re\n\ntext = &quot;Hello,\\tWorld!\\tWelcome to Python.&quot;\ncleaned_text = re.sub(r&#39;\\t+&#39;, &#39;&#39;, text)  # \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53bb\u6389\u6240\u6709\u5236\u8868\u7b26\nprint(cleaned_text)  # \u8f93\u51fa: Hello,World!Welcome to Python.\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u53bb\u6389\u5236\u8868\u7b26\uff0c\u8fd8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u5339\u914d\u7684\u89c4\u5219\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53bb\u6389\u5b57\u7b26\u4e32\u4e2d\u7684\u5236\u8868\u7b26\uff08Tab\u5b57\u7b26\uff09\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u3002\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u6709\u4f7f\u7528\u5b57\u7b26\u4e32\u7684replace [&hellip;]","protected":false},"author":3,"featured_media":1105475,"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\/1105461"}],"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=1105461"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1105461\/revisions"}],"predecessor-version":[{"id":1105477,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1105461\/revisions\/1105477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1105475"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1105461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1105461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1105461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}