regex - Export a specific line in Notepad++ -


i have large xhtml file contains lot of code, see below example:

<a:creationdate>0</a:creationdate> <a:creator/> <a:modificationdate>0</a:modificationdate> <a:modifier/> <a:name>stack</a:name>  <a:creationdate>0</a:creationdate> <a:creator/> <a:modificationdate>0</a:modificationdate> <a:modifier/> <a:name>user</a:name> 

how can export or select specific line? in example want have such result:

<a:name>stack</a:name> <a:name>user</a:name>  

and rest of code should ignored.

okay found desire result:

 ^((?!<a:name>.*</a:name>).)*$ 

Comments