Copying content without tags from an XML file in Notepad++ -


i'm not quite familiar xml files , notepad++, simple solution better, clumsy may be.

i have large xml file , i'm trying copy content between tags (hope terminology right). sure i'm clear, text in screenshot below copy following text , paste elsewhere:

discussion

in study i

have demonstrated

an approach the

notepad++ screenshot

is there simple , quick way many lines of text @ once?

any appreciated!

open find , replace window pressing ctrl+h.

set 'search mode' 'regular expression'.

in 'find what' text box enter: (?s)<[^><]*?> , leave 'replace with' text box empty.

press replace button , tags should disappear.

this quick , easy fix using notepad++ may not work if there cdata tags present or comments containing < or >. you'll need xml parser more reliable transformations.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -