{"id":5132,"date":"2022-08-26T20:22:19","date_gmt":"2022-08-26T14:52:19","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/"},"modified":"2022-08-26T20:22:19","modified_gmt":"2022-08-26T14:52:19","slug":"solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/","title":{"rendered":"[Solved] How to cut up a string from an input file with Regex or String Split, C#?"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-17584893\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"17584893\" data-parentid=\"17580569\" data-score=\"0\" data-position-on-page=\"3\" data-highest-scored=\"0\" data-question-has-accepted-highest-score=\"0\" itemprop=\"suggestedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<h1>Description<\/h1>\n<p>This regex will:<\/p>\n<ul>\n<li>capture the fields values for subject, from, to, and read<\/li>\n<li>the fields can be listed in the source string in any order<\/li>\n<li>capture the date on the second line what starts with a single <code>#<\/code><\/li>\n<\/ul>\n<p><code>^\\#(?!\\#)([^\\r\\n]*)(?=.*?^Subject=([^\\r\\n]*))(?=.*?^From=([^\\r\\n]*))(?=.*?^To=([^\\r\\n]*))(?=.*?^Read=([^\\r\\n]*))<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\" alt=\"enter image description here\"><\/p>\n<h1>Expanded<\/h1>\n<ul>\n<li><code>^\\#(?!\\#)<\/code> match the first line which only has a single <code>#<\/code><\/li>\n<li><code>([^\\r\\n]*)<\/code> capture all characters on the line which are not new line characters<\/li>\n<li><code>(?=<\/code> start the lookahead for the subject, this format is the same for each of field being looked for. by using a lookahead the fields can appear in any order\n<ul>\n<li><code>.*?^Subject=<\/code> travel through the string until the first occurance of <code>subject<\/code> at the start of the line<\/li>\n<li><code>([^\\r\\n]*)<\/code> capture all non new line characters<\/li>\n<li><code>)<\/code> close the lookahead<\/li>\n<\/ul>\n<\/li>\n<li><code>(?=.*?^From=([^\\r\\n]*))<\/code> repeat the process for <code>from<\/code><\/li>\n<li><code>(?=.*?^To=([^\\r\\n]*))<\/code> repeat for <code>to<\/code><\/li>\n<li><code>(?=.*?^Read=([^\\r\\n]*))<\/code> repeat for <code>read<\/code><\/li>\n<\/ul>\n<p>The order in which the lookaheads occur in the regular expression dictacts the order in the values are captured. You can add more fields or rearrange them as desired.<\/p>\n<h1>Example<\/h1>\n<p>Live example:  <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/www.rubular.com\/r\/8y1xQZYj05\">http:\/\/www.rubular.com\/r\/8y1xQZYj05<\/a><\/p>\n<p><strong>Sample Text<\/strong><\/p>\n<pre><code>##File List\n#Tue Dec 13 14:27:43 CST 2011\nSubject=Research paper.\nFrom=zmeinecke\nCc=\nAttachmentName=ADHD Medication Research Paper.docx\nRead=true\nparentId=\nBcc=\nDate=1323748746221\nformat=blackboard.base.FormattedText$Type\\:HTML\nAttachmentId=b2cb1016f0b847a3bfae636988aa3f6a\nTo=ksanger;\n<\/code><\/pre>\n<p><strong>Code<\/strong><\/p>\n<pre><code>using System;\nusing System.Text.RegularExpressions;\nnamespace myapp\n{\n  class Class1\n    {\n      static void Main(string[] args)\n        {\n          String sourcestring = \"source string to match with pattern\";\n          Regex re = new Regex(@\"^\\#(?!\\#)([^\\r\\n]*)(?=.*?^Subject=([^\\r\\n]*))(?=.*?^From=([^\\r\\n]*))(?=.*?^To=([^\\r\\n]*))(?=.*?^Read=([^\\r\\n]*))\",RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace | RegexOptions.Multiline | RegexOptions.Singleline);\n          Match m = re.Match(sourcestring);\n          for (int gIdx = 0; gIdx &lt; m.Groups.Count; gIdx++)\n            {\n              Console.WriteLine(\"[{0}] = {1}\", re.GetGroupNames()[gIdx], m.Groups[gIdx].Value);\n            }\n        }\n    }\n}\n<\/code><\/pre>\n<p><strong>Capture Groups<\/strong><\/p>\n<ol>\n<li>gets the date<\/li>\n<li>gets subject<\/li>\n<li>gets from<\/li>\n<li>gets to<\/li>\n<li>gets read<\/li>\n<\/ol>\n<p><\/p>\n<pre><code>[1] =&gt; Tue Dec 13 14:27:43 CST 2011\n[2] =&gt; Research paper.\n[3] =&gt; zmeinecke\n[4] =&gt; ksanger;\n[5] =&gt; true\n<\/code><\/pre>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">4<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved How to cut up a string from an input file with Regex or String Split, C#? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Description This regex will: capture the fields values for subject, from, to, and read the fields can be listed in the source string in any order capture the date on the second line what starts with a single # ^\\#(?!\\#)([^\\r\\n]*)(?=.*?^Subject=([^\\r\\n]*))(?=.*?^From=([^\\r\\n]*))(?=.*?^To=([^\\r\\n]*))(?=.*?^Read=([^\\r\\n]*)) Expanded ^\\#(?!\\#) match the first line which only has a single # ([^\\r\\n]*) capture &#8230; <a title=\"[Solved] How to cut up a string from an input file with Regex or String Split, C#?\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\" aria-label=\"More on [Solved] How to cut up a string from an input file with Regex or String Split, C#?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[324,347,362,1159,1040],"class_list":["post-5132","post","type-post","status-publish","format-standard","hentry","category-solved","tag-c","tag-regex","tag-string","tag-visual-studio-2010","tag-visual-studio-2012"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Description This regex will: capture the fields values for subject, from, to, and read the fields can be listed in the source string in any order capture the date on the second line what starts with a single # ^#(?!#)([^rn]*)(?=.*?^Subject=([^rn]*))(?=.*?^From=([^rn]*))(?=.*?^To=([^rn]*))(?=.*?^Read=([^rn]*)) Expanded ^#(?!#) match the first line which only has a single # ([^rn]*) capture ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-26T14:52:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\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\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] How to cut up a string from an input file with Regex or String Split, C#?\",\"datePublished\":\"2022-08-26T14:52:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\"},\"wordCount\":212,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\",\"keywords\":[\"c++\",\"regex\",\"string\",\"visual-studio-2010\",\"visual-studio-2012\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\",\"name\":\"[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\",\"datePublished\":\"2022-08-26T14:52:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] How to cut up a string from an input file with Regex or String Split, C#?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb","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:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb","og_description":"[ad_1] Description This regex will: capture the fields values for subject, from, to, and read the fields can be listed in the source string in any order capture the date on the second line what starts with a single # ^#(?!#)([^rn]*)(?=.*?^Subject=([^rn]*))(?=.*?^From=([^rn]*))(?=.*?^To=([^rn]*))(?=.*?^Read=([^rn]*)) Expanded ^#(?!#) match the first line which only has a single # ([^rn]*) capture ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/","og_site_name":"JassWeb","article_published_time":"2022-08-26T14:52:19+00:00","og_image":[{"url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png","type":"","width":"","height":""}],"author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] How to cut up a string from an input file with Regex or String Split, C#?","datePublished":"2022-08-26T14:52:19+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/"},"wordCount":212,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png","keywords":["c++","regex","string","visual-studio-2010","visual-studio-2012"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/","url":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/","name":"[Solved] How to cut up a string from an input file with Regex or String Split, C#? - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png","datePublished":"2022-08-26T14:52:19+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#primaryimage","url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/08\/Solved-How-to-cut-up-a-string-from-an-input.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-cut-up-a-string-from-an-input-file-with-regex-or-string-split-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] How to cut up a string from an input file with Regex or String Split, C#?"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/5132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=5132"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/5132\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=5132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=5132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=5132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}