{"id":16876,"date":"2021-07-29T11:16:13","date_gmt":"2021-07-29T05:46:13","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=16876"},"modified":"2021-07-29T11:16:15","modified_gmt":"2021-07-29T05:46:15","slug":"python-string-starts-with-regex-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/","title":{"rendered":"Python string starts with regex | Example code"},"content":{"rendered":"\n<p><strong>Series.str.startswith<\/strong> doesn&#8217;t accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not accept regex. The alternative is to use a regex match.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> re.match(pattern, string)<\/code><\/pre>\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>Use Series.str.match instead Python string starts with regex<\/strong><\/h2>\n\n\n\n<p>Simple python example code using the re.match(pattern, string) function from the re module.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import re\r\n\r\nsome_str = \"Hello world\"\r\n\r\nif re.match(r'^Hello', some_str):\r\n    print(\"Given String start with 'Hello'\")\r\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"142\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg?resize=446%2C142&#038;ssl=1\" alt=\"Python string starts with regex\" class=\"wp-image-17295\"\/><\/figure><\/div>\n\n\n\n<p>Obviously, in this case, <code>somestring.startswith('hello')<\/code> is better.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>See which of these methods<\/strong><\/h3>\n\n\n\n<p>These are most efficient to return whether a certain string begins with another string.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>string.startswith('hello')<\/code><\/li><li><code>string.rfind('hello') == 0<\/code><\/li><li><code>string.rpartition('hello')[0] == ''<\/code><\/li><li><code>string.rindex('hello') == 0<\/code><\/li><\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any doubts and suggestions on this Python string 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>Series.str.startswith doesn&#8217;t accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not accept regex. The alternative is to use a regex match. Use Series.str.match instead Python string starts with regex Simple python example code using the re.match(pattern, string) function from the re module. Output: Obviously, in this case,&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python string starts with regex | 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":[98],"post_series":[],"class_list":["post-16876","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-string"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python string starts with regex | Example code - EyeHunts<\/title>\n<meta name=\"description\" content=\"Series.str.startswith doesn&#039;t accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...\" \/>\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-string-starts-with-regex-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python string starts with regex | Example code - EyeHunts\" \/>\n<meta property=\"og:description\" content=\"Series.str.startswith doesn&#039;t accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-29T05:46:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-29T05:46:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/\",\"name\":\"Python string starts with regex | Example code - EyeHunts\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg\",\"datePublished\":\"2021-07-29T05:46:13+00:00\",\"dateModified\":\"2021-07-29T05:46:15+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Series.str.startswith doesn't accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg?fit=446%2C142&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg?fit=446%2C142&ssl=1\",\"width\":446,\"height\":142},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python string starts with regex | 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=1777979855\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777979855\",\"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 string starts with regex | Example code - EyeHunts","description":"Series.str.startswith doesn't accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...","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-string-starts-with-regex-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python string starts with regex | Example code - EyeHunts","og_description":"Series.str.startswith doesn't accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-07-29T05:46:13+00:00","article_modified_time":"2021-07-29T05:46:15+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/","name":"Python string starts with regex | Example code - EyeHunts","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg","datePublished":"2021-07-29T05:46:13+00:00","dateModified":"2021-07-29T05:46:15+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Series.str.startswith doesn't accept regex because it is intended to behave similarly to str.startswith in vanilla Python, which does not...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg?fit=446%2C142&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-string-starts-with-regex.jpg?fit=446%2C142&ssl=1","width":446,"height":142},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-string-starts-with-regex-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python string starts with regex | 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=1777979855","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777979855","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":2158,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-regex-regular-expression-re-example\/","url_meta":{"origin":16876,"position":0},"title":"Python Regex (Regular Expression or RE) | Operations","author":"Rohit","date":"September 12, 2018","format":false,"excerpt":"Regular expressions\u00a0\u00a0(REs, or regexes, or regex patterns) are used to identify whether a pattern exists in a given sequence of strings or not. For example validation of Email, phone number, and passwords, etc. Python Regex\u00a0is basic a tiny, highly specialized programming language embedded inside Python, which is available through the\u00a0re\u00a0module.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python Regex (Regular Expression or RE) | Operations | Examples","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Regex-Regular-Expression-or-RE-Operations-Examples-.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Regex-Regular-Expression-or-RE-Operations-Examples-.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Regex-Regular-Expression-or-RE-Operations-Examples-.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Regex-Regular-Expression-or-RE-Operations-Examples-.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":17458,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-regex-match-word-in-the-string-example-code\/","url_meta":{"origin":16876,"position":1},"title":"Python regex match word in the string | Example code","author":"Rohit","date":"November 3, 2021","format":false,"excerpt":"To get the regex match a word in the string use re.search here not re.match method in Python. From the docs on re.match: Python regex matches a word in a string example Simple example code If you want to locate a match anywhere in the string, use search() instead. If\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python regex match word in the string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-regex-match-word-in-the-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17460,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-search-string-for-a-pattern-example-code\/","url_meta":{"origin":16876,"position":2},"title":"Python search string for a pattern | Example code","author":"Rohit","date":"November 10, 2021","format":false,"excerpt":"Use a Regex object\u2019s search() method to search the string it is passed for any matches to the pattern in Python. Match objects have a group() method that will return the actual matched text from the searched string. Python search string for a pattern example Simple example code Matching regex\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python search string for a pattern","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-search-string-for-a-pattern.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16857,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-substring-regex-example-code\/","url_meta":{"origin":16876,"position":3},"title":"Python substring regex | Example code","author":"Rohit","date":"August 3, 2021","format":false,"excerpt":"You can create a substring regex pattern to find matches in a given string. You need to capture from regex. Search for the pattern, if found, retrieve the string using group(index). Python regex Substring match example Use \\b matches start or end of a word. Only one match re.search() returns\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python substring regex","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-substring-regex.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16874,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-string-contains-regex\/","url_meta":{"origin":16876,"position":4},"title":"Python string contains regex","author":"Rohit","date":"September 13, 2023","format":false,"excerpt":"To check if a Python string contains a regular expression pattern, you can use the re module, which provides functions for working with regular expressions. Regular expressions (regex or regexp) are powerful tools for pattern matching and searching within strings. Python string contains regex example Simple example code. import re\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\/2023\/09\/Python-string-contains-regex.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/09\/Python-string-contains-regex.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/09\/Python-string-contains-regex.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":17454,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-regex-extract-substring-example-code\/","url_meta":{"origin":16876,"position":5},"title":"Python regex extract substring | Example code","author":"Rohit","date":"August 24, 2021","format":false,"excerpt":"Using a \"re\" module findall() function with regex can extract a substring from a given string in Python. Example extract pattern matches using RegEx in Python Simple example code, you need to import Python\u2019s re module. Call re.findall(r\"pattern (.*)\", string) with pattern as the exact sequence to match within string.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python regex extract substring","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/08\/Python-regex-extract-substring.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\/16876","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=16876"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/16876\/revisions"}],"predecessor-version":[{"id":17297,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/16876\/revisions\/17297"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=16876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=16876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=16876"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=16876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}