{"id":243,"date":"2014-09-03T17:24:56","date_gmt":"2014-09-03T17:24:56","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=243"},"modified":"2020-06-10T10:20:22","modified_gmt":"2020-06-10T17:20:22","slug":"anchors","status":"publish","type":"post","link":"https:\/\/alt2.minisoft.com\/support\/anchors\/","title":{"rendered":"Anchors"},"content":{"rendered":"<p>Anchors are an aspect of a regular expression which specifies a position in a string where a match must occur. An anchor that is used in a regular expression will not advance through the string or consume characters. Instead, it looks for a match in the specified position only. For example, ^ specifies that the match must start at the beginning of a line or string. Common anchors include:<\/p>\n<hr \/>\n<table>\n<tbody>\n<tr>\n<td width=\"55\"><strong>^<\/strong><\/td>\n<td width=\"583\">Start of a line<\/td>\n<\/tr>\n<tr>\n<td width=\"55\"><strong>\\A<\/strong><\/td>\n<td width=\"583\">Start of an input string<\/td>\n<\/tr>\n<tr>\n<td width=\"55\"><strong>$<\/strong><\/td>\n<td width=\"583\">End of a line<\/td>\n<\/tr>\n<tr>\n<td width=\"55\"><strong>\\Z<\/strong><\/td>\n<td width=\"583\">End of an input string<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p><img decoding=\"async\" style=\"display: inline; width: 25px;\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/08\/page.png\" alt=\"\" \/><strong style=\"font-size: 18px; padding-left: 15px;\">Additional Resources<\/strong><\/p>\n<p><a title=\"Anchors\" href=\"http:\/\/www.regular-expressions.info\/anchors.html\" target=\"_blank\" rel=\"noopener noreferrer\">Anchors (Off-site)<\/a><br \/>\n<a title=\"Regular Expressions\" href=\"\/support\/index.php\/regular-expressions\/\" target=\"_blank\" rel=\"noopener noreferrer\">Regular Expressions Main Page<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anchors are an aspect of a regular expression which specifies a position in a string where a match must occur. An anchor that is used in a regular expression will not advance through the string or consume characters. Instead, it looks for a match in the specified position only. For example, ^ specifies that the [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,58],"tags":[5,6],"_links":{"self":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/243"}],"collection":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":7,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":7982,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/243\/revisions\/7982"}],"wp:attachment":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}