in reply to Re^3: Problem with Regex
in thread Problem with Regex

What is a "category" in that context? I don't understand what you want to extract, and why this is suddenly different from your original question (which seemed to be to find the contents of the first tag with a specific name).