{"id":22736,"date":"2021-11-24T21:54:38","date_gmt":"2021-11-24T16:24:38","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=22736"},"modified":"2023-06-07T16:42:27","modified_gmt":"2023-06-07T11:12:27","slug":"python-replace-character-in-the-list-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/","title":{"rendered":"Python replace character in the list | Example code"},"content":{"rendered":"\n<p>Use <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-regex-find-and-replace-example-code\/\">regex <\/a>to replace characters in the list in Python. The <code>re<\/code> module in Python provides the <code>sub()<\/code> and <code>subn()<\/code> functions that can be used to replace characters in a list using regular expressions.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example replace character in the list in Python<\/strong><\/h2>\n\n\n\n<p>A simple example code removes multiple characters from a string. Removing &#8220;e&#8221;, &#8220;l&#8217;, and &#8220;p&#8221; char from the given string.<\/p>\n\n\n\n<p>You have to import the <strong>re <\/strong><a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-import-module-from-path-example-code\/\">module <\/a>for this example.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import re\n\nprint(re.sub(\"e|l|p\", \"\", \"Hello Python Developers\"))\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"121\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg?resize=250%2C121&#038;ssl=1\" alt=\"Python replace character in the list\" class=\"wp-image-22744\"\/><\/figure><\/div>\n\n\n<p>Or you can <a href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-iterate-object\/\">iterate <\/a>over the list and update the desired character at each index. Here&#8217;s an example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def replace_character_in_list(lst, old_char, new_char):\r\n    for i in range(len(lst)):\r\n        if lst&#91;i] == old_char:\r\n            lst&#91;i] = new_char\r\n\r\n# Example usage\r\nmy_list = &#91;'a', 'b', 'c', 'd']\r\nreplace_character_in_list(my_list, 'c', 'x')\r\nprint(my_list)  # Output: &#91;'a', 'b', 'x', 'd']\r<\/code><\/pre>\n\n\n\n<p><strong>Another example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import re\r\n\r\ndef replace_character_in_list(lst, pattern, replacement):\r\n    # Convert the list to a string\r\n    string_representation = ''.join(lst)\r\n\r\n    # Use re.sub() to replace the characters\r\n    modified_string = re.sub(pattern, replacement, string_representation)\r\n    \r\n    # Convert the modified string back to a list\r\n    modified_list = list(modified_string)\r\n    \r\n    return modified_list\r\n\r\n# Example usage\r\nmy_list = &#91;'a', 'b', 'c', 'd']\r\nmodified_list = replace_character_in_list(my_list, r'&#91;a-d]', 'x')\r\nprint(modified_list)  # Output: &#91;'x', 'x', 'x', 'x']\r<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Comment if you have any doubts or suggestions on this Python char topic.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> IDE:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\">PyCharm<\/a>&nbsp;2021.3.3 (Community Edition)<\/p><p>Windows 10<\/p><p><strong>Python 3.10.1<\/strong><\/p><p>All<strong>&nbsp;Python Examples&nbsp;are in&nbsp;Python&nbsp;3<\/strong>, so Maybe its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Use regex to replace characters in the list in Python. The re module in Python provides the sub() and subn() functions that can be used to replace characters in a list using regular expressions. Example replace character in the list in Python A simple example code removes multiple characters from a string. Removing &#8220;e&#8221;, &#8220;l&#8217;,&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python replace character in the list | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[164,83,264],"post_series":[],"class_list":["post-22736","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-char","tag-python-list","tag-python-replace"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python replace character in the list | Example code<\/title>\n<meta name=\"description\" content=\"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing &quot;e&quot;, &quot;l&#039;, and\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python replace character in the list | Example code\" \/>\n<meta property=\"og:description\" content=\"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing &quot;e&quot;, &quot;l&#039;, and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-24T16:24:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-07T11:12:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\",\"name\":\"Python replace character in the list | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg\",\"datePublished\":\"2021-11-24T16:24:38+00:00\",\"dateModified\":\"2023-06-07T11:12:27+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing \\\"e\\\", \\\"l', and\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg?fit=250%2C121&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg?fit=250%2C121&ssl=1\",\"width\":250,\"height\":121},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python replace character in the list | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python replace character in the list | Example code","description":"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing \"e\", \"l', and","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python replace character in the list | Example code","og_description":"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing \"e\", \"l', and","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-11-24T16:24:38+00:00","article_modified_time":"2023-06-07T11:12:27+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/","name":"Python replace character in the list | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg","datePublished":"2021-11-24T16:24:38+00:00","dateModified":"2023-06-07T11:12:27+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Use regex to replace characters in the list in Python. Simple example code removes multiple characters from a string. Removing \"e\", \"l', and","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg?fit=250%2C121&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-character-in-the-list.jpg?fit=250%2C121&ssl=1","width":250,"height":121},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-the-list-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python replace character in the list | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":17570,"url":"https:\/\/tutorial.eyehunts.com\/python\/remove-multiple-characters-from-string-python-example-code\/","url_meta":{"origin":22736,"position":0},"title":"Remove multiple characters from string Python | Example code","author":"Rohit","date":"August 6, 2021","format":false,"excerpt":"You can use replace() method or re.sub() to remove multiple characters from the string in Python. Example How to Remove multiple characters from string Python Simple example code. Use replace() method Use a for-loop to iterate through each character and call str.replace(old, new) with old as the character and new\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Remove multiple characters from string Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Remove-multiple-characters-from-string-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17538,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-a-string-by-index-example-code\/","url_meta":{"origin":22736,"position":1},"title":"Python replace character in a string by index | Example code","author":"Rohit","date":"August 4, 2021","format":false,"excerpt":"A simple way to replace a character in a string by index in python is the slicing method. Python replace character in a string with index Example Simple example code replaces the character at a Specific Position. Where in the example we are taking a string, and replace the character\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python replace character in a string by index","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-replace-character-in-a-string-by-index.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8008,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-remove-single-quotes-from-a-string\/","url_meta":{"origin":22736,"position":2},"title":"Python remove single quotes from a string | (&#8216;)","author":"Rohit","date":"April 13, 2020","format":false,"excerpt":"You can remove single quotes from a string in python using replace the function or translate function, Regular Expressions, etc. A easiest way is just replace the apostrophe character with an empty string: msg = \"Hell'o\" print(msg.replace(\"'\", \"\")) Way to remove single quotes from a string in Python replace() functiontranslate()\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17540,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-multiple-characters-in-string-example-code\/","url_meta":{"origin":22736,"position":3},"title":"Python replace multiple characters in string | Example code","author":"Rohit","date":"August 4, 2021","format":false,"excerpt":"Use replace() method with a for-in loop to replace multiple characters in a string in Python programming. There is also another way to do it like Using nested replace() or translate() + maketrans() methods (Support only Python 2). str.replace(old, new) Example Python replace multiple characters in a string Simple example\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Replace-multiple-characters-in-a-string-at-once.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22734,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-the-first-character-in-string-example-code\/","url_meta":{"origin":22736,"position":4},"title":"Python replace the first character in string | Example code","author":"Rohit","date":"November 25, 2021","format":false,"excerpt":"Use the Python built-in replace() function to replace the first character in the string. The str.replace takes 3 parameters old, new, and count (optional). Where count indicates the number of times you want to replace the old substring with the new substring. str.replace(old, new[, count]) Example replace the first character\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python replace the first character in string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-replace-the-first-character-in-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17520,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-replace-character-in-string-example-code\/","url_meta":{"origin":22736,"position":5},"title":"Python replace character in string | Example code","author":"Rohit","date":"August 4, 2021","format":false,"excerpt":"Use the string replaces() method to replace characters in a given string using Python programming. This method will replace all occurrences of a character with a new character. string.replace(old, new, count) The count is Optional Parameters used to a number of times you want to replace the old char (substring)\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python replace character in string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-replace-character-in-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=22736"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22736\/revisions"}],"predecessor-version":[{"id":40016,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22736\/revisions\/40016"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=22736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=22736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=22736"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=22736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}