Skip to content

Gary Pendergast

I'm on the Internet

Tag: P2

Don’t Do Regular Expressions, Use The DOM

I’m as guilty of this as anyone – I have a lump of HTML that I need to extract information from. So, I write a quick regular expression, knowing full well that they’re not appropriate for the job. But I do it anyway. This time, I decided to try doing things a better way. Here’s… Continue reading Don’t Do Regular Expressions, Use The DOM

Published December 19, 2013
Categorized as WordPress Tagged DOM, o2, P2, PHP, Regular Expressions
Picture of Gary Gary Pendergast, noun: MySQL, WordPress, web and music geek. Writes poetry with Automattic. Can be observed in his natural habit at pento.net, or usually in Melbourne, Australia.

  • Twitter
  • Facebook
  • GitHub
  • Photo blog
Gary Pendergast
Privacy Policy
Proudly powered by WordPress.