I\'m trying to write a Javascript HTML/php parser which would extract all opening tags from a HTML/php source and return the type of tag and attributes with their values whi
much simpler answer would be <[^/^>]+>