-
Recent Posts
Categories
Tag Archives: regex
PHP Function to extract anything between two tags
Here’s a small snippet of code that I use very frequently when parsing out webpages or content for specific items. For example on any webpage you need to extract data which is present like this: <html><body><h1>ABC</h1>…. <!– A lot list … Continue reading