Delete content between special characters in Writer

I have a very long Writer file which is completely filled by XML code. I would like to delete all the content between “<” and “>”, including both symbols, and let only the non-coded text. I’ve search on the web and the only examples I read were in Calc. I tried the tips on the writer file with no success. How can I do it using File&Replace automatically?

I understand that you want to strip the XML tags/code from marked up text.

e.g. Input:<html> 0 </html>

Output: 0

Try: Find and Replace - Other Options - Regular Expressions

To replace the regular expression:

<[^>]*>

with a space character.

Caveat: I have not tested this myself.

References and alternative regexes:

http://networking.ringofsaturn.com/Web/removetags.php

http://www.pagecolumn.com/tool/all_about_html_tags.htm