I\'m trying to match a block of div that have a particular id.. Here\'s my regex code:
]*\\s*id\\s*=\\s*[\"|\']content[\"|\']\\s*>[^/div]
Use a parser, not a regex.
Here's a PHP example: http://htmlparsing.com/php.html