{"id":275842,"date":"2024-05-16T14:37:22","date_gmt":"2024-05-16T06:37:22","guid":{"rendered":""},"modified":"2024-05-16T14:37:31","modified_gmt":"2024-05-16T06:37:31","slug":"%e5%89%8d%e7%ab%af-javascript-%e9%a1%b9%e7%9b%ae%e4%b8%ad%e6%80%8e%e4%b9%88%e6%9b%bf%e6%8d%a2%e6%89%80%e6%9c%89%e6%8c%87%e5%ae%9a%e5%ad%97%e7%ac%a6-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/275842.html","title":{"rendered":"\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\u600e\u4e48\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200612\/7c499ec5-2f0c-4f7e-86db-9ba68b86e8e3.webp\" alt=\"\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\u600e\u4e48\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\" \/><\/p>\n<p><p>\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c<strong>\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 <code>replace()<\/code> \u65b9\u6cd5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528 <code>split()<\/code> \u548c <code>join()<\/code> \u65b9\u6cd5\u7ec4\u5408<\/strong>\u3002\u5177\u4f53\u5b9e\u65bd\u65b9\u5f0f\u53d6\u51b3\u4e8e\u9879\u76ee\u7684\u5177\u4f53\u9700\u6c42\u3001\u6027\u80fd\u8981\u6c42\u4ee5\u53ca\u5f00\u53d1\u8005\u5bf9\u8bed\u8a00\u7279\u6027\u7684\u719f\u6089\u7a0b\u5ea6\u3002\u5176\u4e2d\uff0c\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u914d\u5408\u5168\u5c40\u6b63\u5219\u8868\u8fbe\u5f0f\uff08Global Regular Expression\uff09\u662f\u6700\u76f4\u63a5\u4e5f\u662f\u6700\u9ad8\u6548\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u5927\u5e45\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 REPLACE() \u65b9\u6cd5\u548c\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>JavaScript \u7684 <code>replace()<\/code> \u65b9\u6cd5\u53ef\u4ee5\u5bf9\u5b57\u7b26\u4e32\u4e2d\u6ee1\u8db3\u6761\u4ef6\u7684\u90e8\u5206\u8fdb\u884c\u66ff\u6362\u3002\u5f53\u4e0e\u6b63\u5219\u8868\u8fbe\u5f0f\u7ed3\u5408\u4f7f\u7528\u65f6\uff0c\u901a\u8fc7\u6dfb\u52a0\u5168\u5c40\u5339\u914d\u6807\u5fd7\uff08g\uff09\uff0c\u8be5\u65b9\u6cd5\u53ef\u4ee5\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><h4>\u7b2c\u4e00\u6b65\uff1a\u5b9a\u4e49\u6b63\u5219\u8868\u8fbe\u5f0f<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u9700\u8981\u66ff\u6362\u6240\u6709\u7684\u201ca\u201d\u4e3a\u201c@\u201d\uff0c\u9996\u5148\u5b9a\u4e49\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5176\u4e2d\u201ca\u201d\u662f\u5f85\u66ff\u6362\u5b57\u7b26\uff0c\u201cg\u201d\u662f\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u5168\u5c40\u5339\u914d\u6807\u5fd7\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">const regex = \/a\/g;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u7b2c\u4e8c\u6b65\uff1a\u4f7f\u7528 REPLACE() \u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u63a5\u7740\uff0c\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u6267\u884c\u66ff\u6362\u64cd\u4f5c\u3002\u6b64\u65b9\u6cd5\u63a5\u53d7\u4e24\u4e2a\u53c2\u6570\uff0c\u7b2c\u4e00\u4e2a\u662f\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u7b2c\u4e8c\u4e2a\u662f\u66ff\u6362\u6210\u7684\u65b0\u5b57\u7b26\u6216\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">const originalString = &quot;Banana&quot;;<\/p>\n<p>const newString = originalString.replace(regex, &quot;@&quot;);<\/p>\n<p>console.log(newString); \/\/ B@n@n@<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 SPLIT() \u548c JOIN() \u65b9\u6cd5\u7ec4\u5408<\/h3>\n<\/p>\n<p><p>\u53e6\u4e00\u79cd\u4e0d\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u65b9\u6cd5\u662f\u4f7f\u7528 <code>split()<\/code> \u548c <code>join()<\/code> \u65b9\u6cd5\u7684\u7ec4\u5408\u3002<code>split()<\/code> \u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u6570\u7ec4\uff0c<code>join()<\/code> \u65b9\u6cd5\u5c06\u6570\u7ec4\u5143\u7d20\u5408\u5e76\u6210\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4e5f\u53ef\u5b9e\u73b0\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u7684\u66ff\u6362\u3002<\/p>\n<\/p>\n<p><h4>\u7b2c\u4e00\u6b65\uff1a\u4f7f\u7528 SPLIT() \u65b9\u6cd5\u5206\u5272\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f7f\u7528 <code>split()<\/code> \u65b9\u6cd5\u6309\u6307\u5b9a\u5b57\u7b26\u5206\u5272\u5b57\u7b26\u4e32\uff0c\u5f97\u5230\u4e00\u4e2a\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">const originalString = &quot;Banana&quot;;<\/p>\n<p>const splitArray = originalString.split(&quot;a&quot;);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u7b2c\u4e8c\u6b65\uff1a\u4f7f\u7528 JOIN() \u65b9\u6cd5\u5408\u5e76\u6570\u7ec4<\/h4>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u5c06\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u5408\u5e76\u6210\u4e00\u4e2a\u65b0\u5b57\u7b26\u4e32\uff0c\u8fd9\u65f6\u4f7f\u7528\u65b0\u7684\u5b57\u7b26\u66ff\u4ee3\u539f\u6709\u7684\u5206\u9694\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">const newString = splitArray.join(&quot;@&quot;);<\/p>\n<p>console.log(newString); \/\/ B@n@n@<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u6027\u80fd\u8003\u8651<\/h3>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u65f6\uff0c\u9664\u4e86\u8003\u8651\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6613\u64cd\u4f5c\u6027\u5916\uff0c\u8fd8\u9700\u8981\u8003\u8651\u6267\u884c\u6548\u7387\u3002<strong>\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u6216\u6027\u80fd\u654f\u611f\u7684\u5e94\u7528\u4e2d\uff0c\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u901a\u5e38\u4f1a\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd<\/strong>\u3002\u8fd9\u662f\u56e0\u4e3a <code>replace()<\/code> \u65b9\u6cd5\u76f4\u63a5\u4f5c\u7528\u4e8e\u5b57\u7b26\u4e32\uff0c\u800c\u4e0d\u9700\u8981\u5148\u5c06\u5b57\u7b26\u4e32\u62c6\u5206\u6210\u6570\u7ec4\u518d\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5b9e\u9645\u573a\u666f\u6848\u4f8b<\/h3>\n<\/p>\n<p><h4>\u5927\u6570\u636e\u91cf\u6587\u672c\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5927\u91cf\u6587\u672c\u6570\u636e\u65f6\uff0c\u5982\u65e5\u5fd7\u6587\u4ef6\u6216\u5927\u578b\u6587\u6863\uff0c\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u5feb\u901f\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\uff0c\u63d0\u9ad8\u6570\u636e\u5904\u7406\u901f\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>\u7528\u6237\u8f93\u5165\u6570\u636e\u6e05\u6d17<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u5e38\u5e38\u9700\u8981\u66ff\u6362\u6216\u5220\u9664\u4e00\u4e9b\u7279\u5b9a\u5b57\u7b26\u4ee5\u9632\u6b62\u6ce8\u5165\u653b\u51fb\u6216\u6570\u636e\u6c61\u67d3\u3002\u6b64\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u5b57\u7b26\u4e32\u66ff\u6362\u65b9\u6cd5\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\uff0c<strong>\u901a\u5e38\u63a8\u8350\u4f7f\u7528 <code>replace()<\/code> \u65b9\u6cd5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u56e0\u4e3a\u8fd9\u79cd\u65b9\u6cd5\u65e2\u5feb\u901f\u53c8\u7075\u6d3b<\/strong>\u3002\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528 <code>split()<\/code> \u548c <code>join()<\/code> \u65b9\u6cd5\u7684\u7ec4\u5408\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u5c24\u5176\u662f\u5728\u4e0d\u592a\u719f\u6089\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u60c5\u51b5\u4e0b\u3002\u91cd\u8981\u7684\u662f\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u6027\u80fd\u8981\u6c42\uff0c\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u6211\u8be5\u5982\u4f55\u4e00\u6b21\u6027\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6307\u5b9a\u5b57\u7b26\uff1f<\/strong><\/p>\n<p>\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 <code>replace()<\/code> \u65b9\u6cd5\u6765\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u3002\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\uff0c\u5e76\u5c06\u8981\u66ff\u6362\u7684\u5b57\u7b26\u4f5c\u4e3a\u7b2c\u4e8c\u4e2a\u53c2\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5c06\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u7684\u7a7a\u683c\u66ff\u6362\u4e3a\u4e0b\u5212\u7ebf\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre><code>let str = &quot;Hello World&quot;;\nlet newStr = str.replace(\/\\s\/g, &quot;_&quot;);\nconsole.log(newStr); \/\/ \u8f93\u51fa\uff1aHello_World\n<\/code><\/pre>\n<p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>\/\\s\/g<\/code> \u662f\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5176\u4e2d <code>\\s<\/code> \u8868\u793a\u5339\u914d\u6240\u6709\u7a7a\u683c\u5b57\u7b26\uff0c<code>g<\/code> \u5219\u8868\u793a\u5168\u5c40\u66ff\u6362\u3002\u5c06\u7a7a\u683c\u5b57\u7b26\u66ff\u6362\u4e3a\u4e0b\u5212\u7ebf\u540e\uff0c\u5c06\u7ed3\u679c\u5b58\u50a8\u5728 <code>newStr<\/code> \u53d8\u91cf\u4e2d\uff0c\u6700\u540e\u901a\u8fc7 <code>console.log()<\/code> \u51fd\u6570\u8f93\u51fa\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p><strong>2. \u6211\u60f3\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u591a\u4e2a\u4e0d\u540c\u5b57\u7b26\uff0c\u6709\u4f55\u65b9\u6cd5\uff1f<\/strong><\/p>\n<p>\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u5982\u679c\u4f60\u60f3\u4e00\u6b21\u6027\u66ff\u6362\u591a\u4e2a\u4e0d\u540c\u7684\u5b57\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684\u5b57\u7b26\u7c7b\uff08Character Class\uff09\u6765\u5339\u914d\u591a\u4e2a\u5b57\u7b26\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u5143\u97f3\u5b57\u6bcd\u66ff\u6362\u4e3a\u4e0b\u5212\u7ebf\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre><code>let str = &quot;Hello World&quot;;\nlet newStr = str.replace(\/[aeiou]\/gi, &quot;_&quot;);\nconsole.log(newStr); \/\/ \u8f93\u51fa\uff1aH_ll_ W_rld\n<\/code><\/pre>\n<p>\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>[aeiou]<\/code> \u662f\u4e00\u4e2a\u5b57\u7b26\u7c7b\uff0c\u5339\u914d\u4efb\u610f\u4e00\u4e2a\u5143\u97f3\u5b57\u6bcd\uff0c<code>\/gi<\/code> \u5219\u8868\u793a\u5168\u5c40\u548c\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u5339\u914d\u3002\u5c06\u5143\u97f3\u5b57\u6bcd\u66ff\u6362\u4e3a\u4e0b\u5212\u7ebf\u540e\uff0c\u5c06\u7ed3\u679c\u5b58\u50a8\u5728 <code>newStr<\/code> \u53d8\u91cf\u4e2d\uff0c\u5e76\u901a\u8fc7 <code>console.log()<\/code> \u51fd\u6570\u8f93\u51fa\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p><strong>3. \u6211\u5982\u4f55\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u6307\u5b9a\u5b50\u5b57\u7b26\u4e32\uff1f<\/strong><\/p>\n<p>\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u5982\u679c\u4f60\u60f3\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u6307\u5b9a\u5b50\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 <code>replace()<\/code> \u65b9\u6cd5\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u3002\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\uff0c\u5e76\u5c06\u8981\u66ff\u6362\u7684\u5b50\u5b57\u7b26\u4e32\u4f5c\u4e3a\u7b2c\u4e8c\u4e2a\u53c2\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709 &quot;apple&quot; \u66ff\u6362\u4e3a &quot;orange&quot;\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre><code>let str = &quot;I like apple, apple is delicious.&quot;;\nlet newStr = str.replace(\/apple\/g, &quot;orange&quot;);\nconsole.log(newStr); \/\/ \u8f93\u51fa\uff1aI like orange, orange is delicious.\n<\/code><\/pre>\n<p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>\/apple\/g<\/code> \u662f\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5339\u914d\u6240\u6709\u7684 &quot;apple&quot;\uff0c\u5c06\u5176\u66ff\u6362\u4e3a &quot;orange&quot;\uff0c\u5e76\u5c06\u7ed3\u679c\u5b58\u50a8\u5728 <code>newStr<\/code> \u53d8\u91cf\u4e2d\u3002\u6700\u540e\u901a\u8fc7 <code>console.log()<\/code> \u51fd\u6570\u8f93\u51fa\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728\u524d\u7aef JavaScript \u9879\u76ee\u4e2d\uff0c\u66ff\u6362\u6240\u6709\u6307\u5b9a\u5b57\u7b26\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 re [&hellip;]","protected":false},"author":3,"featured_media":275856,"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\/275842"}],"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=275842"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/275842\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/275856"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=275842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=275842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=275842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}