{"id":4028,"date":"2022-01-25T11:50:40","date_gmt":"2022-01-25T11:50:40","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=4028"},"modified":"2022-02-17T07:13:46","modified_gmt":"2022-02-17T07:13:46","slug":"regex-examples","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/php\/regex-regular-expressions\/regex-examples","title":{"rendered":"Regex examples"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">North American telephone number<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>^&#91;(]*(&#91;0-9]{3})&#91;- .)]*&#91;0-9]{3}&#91;- .]*&#91;0-9]{4}$<\/code><\/pre>\n\n\n\n<p>Test for 10-digit North American telephone numbers.<\/p>\n\n\n\n<p>Will allow spaces, hyphens, or periods as optional separators as well as optional parentheses around the first three numbers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>North American telephone number Test for 10-digit North American telephone numbers. Will allow spaces, hyphens, or periods as optional separators as well as optional parentheses around the first three numbers<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-4028","post","type-post","status-publish","format-standard","hentry","category-regex-regular-expressions"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/4028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=4028"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/4028\/revisions"}],"predecessor-version":[{"id":4031,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/4028\/revisions\/4031"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=4028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=4028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=4028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}