Regular Expression to get contents of div[id]

/ Published in: PHP
Save to your folder(s)

This allows you to get contents of any div with ID tag.
$matches[0] returns with parent div tag
$matches[1] returns with out parent div tag

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.