Skip to content

prosoxi.com

Attention in classroom

  • Programming
    • ASP / ASP.net
    • .htaccess
    • PHP
    • JavaScript – Ajax
    • Facebook
    • HTML – XHTML
    • MySQL
    • node js
    • CSS
    • SEO
    • Flash
  • Mobile / Tablet
    • ionic framework
    • Android
    • cordova
    • ios
  • Graphics
    • After Effects
  • OS
    • Windows
    • MAC
    • Linux
  • Network
    • Trixbox
    • Plesk
    • Dreambox
  • News
    • Hack
    • Tutorials
    • Tips & Tricks
    • promo codes

Tag Archives: data scruping

Php regular expression to match a div

Use an HTML parser. NOT regular expressions. The problem with regular expressions is that they cannot match nested structures. Assuming your regex must match a single <div> and its closing tag, there is no way to correctly match this input:

Posted byProsoxi.com WebmasterFebruary 9, 2012February 6, 2012Posted inPHPTags: curl, data scruping, div, PHP, scrapeLeave a comment on Php regular expression to match a div

Advertise

Whocallsme.gr Widget Lookup

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« May    
prosoxi.com, Proudly powered by WordPress.