I like the function to get the data between tags. Anyone have a function to grab data out of an attribute of a single tag? Such as grabbing the keywords out of the META keywords tag?
| SitePoint Sponsor |
I like the function to get the data between tags. Anyone have a function to grab data out of an attribute of a single tag? Such as grabbing the keywords out of the META keywords tag?




You can use regular expressions but I don't know of any universal parsing function for "any" set of tags.
You could google for "regular expressions parse tags" and likely find some find some examples to get you started.
In any case, this is not really an ASP question....
This might be a good page to start with.
Be careful though. Regular Expressions are an expensive proposition (memory wise) in Classic ASP.
Andrew Wasson | www.lunadesign.org
Principal / Internet Development
Bookmarks