{"id":610,"date":"2008-09-09T18:30:46","date_gmt":"2008-09-09T13:00:46","guid":{"rendered":"http:\/\/blog.indianic.com\/2008\/09\/the-preg_replace_callback-function-in-php.html"},"modified":"2021-02-10T16:18:03","modified_gmt":"2021-02-10T10:48:03","slug":"the-preg_replace_callback-function-in-php","status":"publish","type":"post","link":"https:\/\/indianic.devpress.net\/blog\/web\/the-preg_replace_callback-function-in-php.html","title":{"rendered":"The preg_replace_callback() function in PHP"},"content":{"rendered":"<p>The preg_replace_callback   function is an under-utilized and little documented PHP function that you will find useful and powerful in many situations  especially if you have been actively using preg_match   and preg_replace  . In this article  you will find a clear explanation of what this function does  together with carefully crafted examples that illustrate some of its uses&#8230;.<br \/>\n<br \/><a href=\"http:\/\/rsslinks.industrybrains.com\/click?sid=360&amp;scid=10113&amp;rqctid=4194&amp;lid=390081&amp;cid=7795&amp;pr=2&amp;tstamp=20080909000000&amp;url=http:\/\/www.kinook.com\/VisBuildPro\/%3Faz%3Dph\" class=\"broken_link\">Automate Software Builds with Visual Build Pro<\/a> Easily create an automated, repeatable process for building and deploying software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The preg_replace_callback function is an under-utilized and little documented PHP function that you will find useful and powerful in many situations especially if you have been actively using preg_match and preg_replace . In this article you will find a clear explanation of what this function does together with carefully crafted examples that illustrate some of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false},"categories":[939],"tags":[],"acf":{"show_table_of_content":null,"table_of_content":null},"_links":{"self":[{"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/posts\/610"}],"collection":[{"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":0,"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"wp:attachment":[{"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/indianic.devpress.net\/blog\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}