Removing everything between a tag (including the tag itself) using Regex / Eclipse

Posted by dallen on Stack Overflow See other posts from Stack Overflow or by dallen
Published on 2010-03-29T22:30:22Z Indexed on 2010/03/29 22:33 UTC
Read the original article Hit count: 543

Filed under:

I'm fairly new to figuring out how Regex works, but this one is just frustrating.

I have a massive XML document with a lot of blahblahblah tags. I want to basically remove any and all instances of .

I'm using Eclipse and have tried a few examples of Regex I've found online, but nothing works.

<description>(.*?)</description>

Shouldn't that work?

© Stack Overflow or respective owner

Related posts about regex