Back to Vol 17, Issue 6

PHP Architect · Vol 17, Issue 6 · June 2018

Pro Parsing Techniques With PHP, Part One: Simplifying Your Parsing Strategy

by Michael Schrenk

Something nearly every PHP developer does is develop scripts that parse, or extract, information from text documents. There are many reasons why parsing is important, ranging from scraping information from webpages, parsing email messages, searching for specific entries in text files, or to authenticate events in a log file. And while parsing text is a common activity, there is very little instruction on how to extract desired information from a text file. This is the first of a three article series on parsing text with PHP. This installment is a quick primer on how to simplify your parsing strategy.

The full article is in PHP Architect Vol 17, Issue 6. Subscribe to read it and every new issue.

Subscribe
Michael Schrenk

About the author

Michael Schrenk

Michael Schrenk has developed software that collects and processes massive amounts of data for some of the biggest news agencies in Europe and leads a competitive intelligence consultancy in Las Vegas. He consults on information security and Big Data everywhere from Moscow to Silicon Valley, and most places in between. Mike is the author of _Webbots, Spiders, and Screen Scrapers (2012, No Starch Press)_. He is a Big Data Advisory Board Member at Rutgers University, and has lectured at journalism conferences in Belgium and the Netherlands and has created several weekend data workshops for the Centre for Investigative Journalism in London. Along the way, he’s been interviewed by BBC, the Christian Science Monitor, National Public Radio, and many others. Mike is also an eight-time speaker at the notorious DEF CON hacking conference. He may be best known for building software that over a period of a few months autonomously purchased over $13 million dollars worth of cars by adapting to real-time market conditions.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →