This content has been marked as final. Show 2 replies
I realize this is kinda like XML parsing but don't want to go down that route.Why not? Should it also be able to handle tags that are commented out, or embedded within other tags etc?
You can use the regular expression
with Matcher.find() and extract group 1.