Monday, September 22, 2008

Get rid of everything but what is in between two tags

<name>blah</name>

leaves behind <name>blah >

(it's not perfect but it will help you widdle down large xml files to just the nodes you want!)

((?!<name>.*</name>|Name>.*</name>|ame>.*|me>.*|e>.*|>.*|.*).)*

Labels: , , ,

0 Comments:

Post a Comment

<< Home