{"id":1136016,"date":"2025-01-08T21:31:29","date_gmt":"2025-01-08T13:31:29","guid":{"rendered":""},"modified":"2025-01-08T21:31:32","modified_gmt":"2025-01-08T13:31:32","slug":"python%e5%a6%82%e4%bd%95%e5%88%a0%e9%99%a4%e6%af%8f%e8%a1%8c%e7%9a%84%e5%89%8d%e5%87%a0%e4%b8%aa%e5%ad%97%e7%ac%a6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1136016.html","title":{"rendered":"python\u5982\u4f55\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104523\/660391d2-be6c-4e7f-8b16-b632a937460d.webp\" alt=\"python\u5982\u4f55\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u7684\u65b9\u6cd5\u6709\u591a\u79cd<\/strong>\uff0c\u5982\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5217\u8868\u63a8\u5bfc\u7b49\u3002<strong>\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u5b57\u7b26\u4e32\u5207\u7247<\/strong>\uff0c\u56e0\u4e3a\u5176\u7b80\u6d01\u4e14\u9ad8\u6548\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63a2\u8ba8\u5176\u4f18\u7f3a\u70b9\u53ca\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u5207\u7247<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u5207\u7247\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u5b83\u901a\u8fc7\u7d22\u5f15\u6765\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u7279\u5b9a\u90e8\u5206\u3002\u4f7f\u7528\u5207\u7247\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u975e\u5e38\u76f4\u89c2\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_chars_from_lines(file_path, num_chars):<\/p>\n<p>    with open(file_path, &#39;r&#39;) as file:<\/p>\n<p>        lines = file.readlines()<\/p>\n<p>    modified_lines = [line[num_chars:] for line in lines]<\/p>\n<p>    with open(file_path, &#39;w&#39;) as file:<\/p>\n<p>        file.writelines(modified_lines)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u7b80\u5355\u76f4\u89c2\u3001\u6613\u4e8e\u7406\u89e3\u3001\u6548\u7387\u9ad8\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6587\u4ef6\uff0c\u53ef\u80fd\u9700\u8981\u8f83\u591a\u5185\u5b58\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u66f4\u590d\u6742\u7684\u573a\u666f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def remove_chars_from_lines(file_path, num_chars):<\/p>\n<p>    pattern = re.compile(r&#39;^.{&#39; + str(num_chars) + &#39;}&#39;)<\/p>\n<p>    with open(file_path, &#39;r&#39;) as file:<\/p>\n<p>        lines = file.readlines()<\/p>\n<p>    modified_lines = [pattern.sub(&#39;&#39;, line) for line in lines]<\/p>\n<p>    with open(file_path, &#39;w&#39;) as file:<\/p>\n<p>        file.writelines(modified_lines)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u9002\u7528\u4e8e\u590d\u6742\u7684\u6587\u672c\u5904\u7406\u3001\u7075\u6d3b\u6027\u9ad8\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u5b66\u4e60\u66f2\u7ebf\u8f83\u9661\u3001\u5bf9\u4e8e\u7b80\u5355\u4efb\u52a1\u53ef\u80fd\u663e\u5f97\u7e41\u7410\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5217\u8868\u63a8\u5bfc\u4e0e\u751f\u6210\u5668<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u548c\u751f\u6210\u5668\u5728\u5904\u7406\u5927\u6587\u4ef6\u65f6\u975e\u5e38\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u4eec\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u5185\u5b58\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_chars_from_lines(file_path, num_chars):<\/p>\n<p>    with open(file_path, &#39;r&#39;) as file:<\/p>\n<p>        lines = (line[num_chars:] for line in file)<\/p>\n<p>    with open(file_path, &#39;w&#39;) as file:<\/p>\n<p>        file.writelines(lines)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u5185\u5b58\u6548\u7387\u9ad8\u3001\u4ee3\u7801\u7b80\u6d01\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u4e0d\u9002\u5408\u9700\u8981\u9891\u7e41\u8bbf\u95ee\u5df2\u5904\u7406\u6570\u636e\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u9010\u884c\u8bfb\u53d6\u4e0e\u5199\u5165<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6587\u4ef6\uff0c\u9010\u884c\u8bfb\u53d6\u4e0e\u5199\u5165\u662f\u6700\u4f73\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u6700\u5c0f\u5316\u5185\u5b58\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_chars_from_lines(file_path, num_chars):<\/p>\n<p>    with open(file_path, &#39;r&#39;) as infile, open(&#39;temp_file.txt&#39;, &#39;w&#39;) as outfile:<\/p>\n<p>        for line in infile:<\/p>\n<p>            outfile.write(line[num_chars:])<\/p>\n<p>    os.rename(&#39;temp_file.txt&#39;, file_path)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u5185\u5b58\u4f7f\u7528\u6700\u5c0f\u3001\u9002\u7528\u4e8e\u8d85\u5927\u6587\u4ef6\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u4ee3\u7801\u8f83\u4e3a\u5197\u957f\u3001\u9700\u8981\u5904\u7406\u4e34\u65f6\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001Pandas\u5e93<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u7ed3\u6784\u5316\u6570\u636e\uff0cPandas\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>def remove_chars_from_dataframe(file_path, num_chars):<\/p>\n<p>    df = pd.read_csv(file_path)<\/p>\n<p>    df = df.applymap(lambda x: x[num_chars:] if isinstance(x, str) else x)<\/p>\n<p>    df.to_csv(file_path, index=False)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u3001\u9002\u7528\u4e8e\u8868\u683c\u6570\u636e\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u9700\u8981\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e93\u3001\u5bf9\u975e\u8868\u683c\u6570\u636e\u5904\u7406\u8f83\u4e3a\u7b28\u91cd\u3002<\/p>\n<\/p>\n<p><h3>\u8be6\u7ec6\u63cf\u8ff0\u5b57\u7b26\u4e32\u5207\u7247\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u5207\u7247\u65b9\u6cd5\u901a\u8fc7\u7d22\u5f15\u6765\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u7279\u5b9a\u90e8\u5206\u3002\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u9700\u8981\u5220\u9664\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9<\/strong>\uff1a\u9996\u5148\uff0c\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u6253\u5f00\u6587\u4ef6\u5e76\u8bfb\u53d6\u6240\u6709\u884c\u3002<\/li>\n<li><strong>\u5904\u7406\u6bcf\u4e00\u884c<\/strong>\uff1a\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u5bf9\u6bcf\u4e00\u884c\u8fdb\u884c\u5207\u7247\u64cd\u4f5c\uff0c\u4ece\u6307\u5b9a\u4f4d\u7f6e\u5f00\u59cb\u622a\u53d6\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u5199\u5165\u65b0\u6587\u4ef6<\/strong>\uff1a\u5c06\u5904\u7406\u8fc7\u7684\u884c\u5199\u56de\u6587\u4ef6\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">def remove_chars_from_lines(file_path, num_chars):<\/p>\n<p>    # \u6253\u5f00\u6587\u4ef6\u5e76\u8bfb\u53d6\u6240\u6709\u884c<\/p>\n<p>    with open(file_path, &#39;r&#39;) as file:<\/p>\n<p>        lines = file.readlines()<\/p>\n<p>    # \u5bf9\u6bcf\u4e00\u884c\u8fdb\u884c\u5207\u7247\u64cd\u4f5c<\/p>\n<p>    modified_lines = [line[num_chars:] for line in lines]<\/p>\n<p>    # \u5c06\u5904\u7406\u8fc7\u7684\u884c\u5199\u56de\u6587\u4ef6<\/p>\n<p>    with open(file_path, &#39;w&#39;) as file:<\/p>\n<p>        file.writelines(modified_lines)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u76f4\u89c2\uff0c\u4ee3\u7801\u91cf\u5c11\uff0c\u6613\u4e8e\u7406\u89e3\u548c\u7ef4\u62a4\u3002<br \/><strong>\u7f3a\u70b9<\/strong>\uff1a\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6587\u4ef6\uff0c\u53ef\u80fd\u9700\u8981\u8f83\u591a\u5185\u5b58\uff0c\u56e0\u4e3a\u5b83\u9700\u8981\u4e00\u6b21\u6027\u8bfb\u53d6\u6240\u6709\u884c\u5e76\u5b58\u50a8\u5728\u5185\u5b58\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c<strong>\u5b57\u7b26\u4e32\u5207\u7247\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5217\u8868\u63a8\u5bfc\u3001\u9010\u884c\u8bfb\u53d6\u4e0e\u5199\u5165\u3001Pandas\u5e93<\/strong>\u7b49\u90fd\u662f\u6709\u6548\u7684\u624b\u6bb5\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u6587\u4ef6\u5927\u5c0f\u3002\u5bf9\u4e8e\u5927\u591a\u6570\u573a\u666f\uff0c\u5b57\u7b26\u4e32\u5207\u7247\u662f\u6700\u7b80\u6d01\u9ad8\u6548\u7684\u9009\u62e9\uff0c\u4f46\u5bf9\u4e8e\u8d85\u5927\u6587\u4ef6\uff0c\u9010\u884c\u8bfb\u53d6\u4e0e\u5199\u5165\u53ef\u80fd\u662f\u66f4\u597d\u7684\u9009\u62e9\u3002\u5e0c\u671b\u672c\u6587\u80fd\u4e3a\u4f60\u63d0\u4f9b\u5168\u9762\u7684\u6307\u5bfc\uff0c\u5e2e\u52a9\u4f60\u5728\u4e0d\u540c\u573a\u666f\u4e0b\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>\u5982\u4f55\u5728Python\u4e2d\u5220\u9664\u6587\u672c\u6587\u4ef6\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\uff1f<\/strong><br \/>\u8981\u5220\u9664\u6587\u672c\u6587\u4ef6\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684\u6587\u4ef6\u8bfb\u53d6\u548c\u5199\u5165\u529f\u80fd\u3002\u9996\u5148\uff0c\u6253\u5f00\u6587\u4ef6\u5e76\u8bfb\u53d6\u5176\u5185\u5bb9\uff0c\u7136\u540e\u5728\u5904\u7406\u6bcf\u4e00\u884c\u65f6\uff0c\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\u53bb\u6389\u524d\u51e0\u4e2a\u5b57\u7b26\uff0c\u6700\u540e\u518d\u5c06\u4fee\u6539\u540e\u7684\u5185\u5bb9\u5199\u56de\u6587\u4ef6\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">with open(&#39;file.txt&#39;, &#39;r&#39;) as file:\n    lines = file.readlines()\n\nwith open(&#39;file.txt&#39;, &#39;w&#39;) as file:\n    for line in lines:\n        file.write(line[3:])  # \u5220\u9664\u524d3\u4e2a\u5b57\u7b26\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u80fd\u6709\u6548\u5730\u5220\u9664\u6bcf\u884c\u5f00\u5934\u7684\u6307\u5b9a\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u5b57\u7b26\u4e32\u65f6\uff0cPython\u6709\u54ea\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5220\u9664\u524d\u9762\u7684\u5b57\u7b26\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u65b9\u6cd5\u6765\u5904\u7406\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.lstrip()<\/code>\u65b9\u6cd5\u6765\u5220\u9664\u6307\u5b9a\u7684\u524d\u5bfc\u5b57\u7b26\u3002\u5982\u679c\u60a8\u60f3\u5220\u9664\u7279\u5b9a\u5b57\u7b26\u800c\u4e0d\u662f\u56fa\u5b9a\u6570\u91cf\u7684\u5b57\u7b26\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u8fd9\u4e2a\u65b9\u6cd5\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">line = &quot;123Hello World&quot;\nnew_line = line.lstrip(&#39;123&#39;)  # \u5220\u9664\u524d\u9762\u7684&#39;1&#39;, &#39;2&#39;, &#39;3&#39;\n<\/code><\/pre>\n<p><strong>\u5728\u8bfb\u53d6\u6587\u4ef6\u65f6\uff0c\u5982\u4f55\u786e\u4fdd\u7a0b\u5e8f\u5904\u7406\u5927\u6587\u4ef6\u65f6\u4e0d\u4f1a\u5360\u7528\u8fc7\u591a\u5185\u5b58\uff1f<\/strong><br \/>\u5728\u5904\u7406\u5927\u6587\u4ef6\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u9010\u884c\u8bfb\u53d6\u7684\u65b9\u5f0f\u6765\u907f\u514d\u5360\u7528\u8fc7\u591a\u5185\u5b58\u3002\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u76f4\u63a5\u904d\u5386\u6587\u4ef6\u5bf9\u8c61\uff0cPython\u4f1a\u9010\u884c\u8bfb\u53d6\u5185\u5bb9\uff0c\u800c\u4e0d\u662f\u5c06\u6574\u4e2a\u6587\u4ef6\u5185\u5bb9\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9ad8\u6548\uff0c\u9002\u5408\u5904\u7406\u5927\u6587\u4ef6\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">with open(&#39;large_file.txt&#39;, &#39;r&#39;) as file:\n    for line in file:\n        # \u5904\u7406\u6bcf\u4e00\u884c\uff0c\u4f8b\u5982\u5220\u9664\u524d3\u4e2a\u5b57\u7b26\n        print(line[3:], end=&#39;&#39;)\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u9ad8\u6548\u5730\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u800c\u4e0d\u5fc5\u62c5\u5fc3\u5185\u5b58\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5220\u9664\u6bcf\u884c\u7684\u524d\u51e0\u4e2a\u5b57\u7b26\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5982\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5217\u8868\u63a8\u5bfc\u7b49\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u5b57\u7b26 [&hellip;]","protected":false},"author":3,"featured_media":1136020,"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\/1136016"}],"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=1136016"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136016\/revisions"}],"predecessor-version":[{"id":1136023,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136016\/revisions\/1136023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1136020"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1136016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1136016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1136016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}