I have an input file (input.txt) which contains some data that follows a standard format similar to the following lines:
<descriptor/nnn> <http://www.nnn.org/2004/02/skos/core#prefLabel> "Politische Inklusion"@de .
<descriptor/nnn> <http://www.nnn.org/2004/02/skos/core#prefLabel> "Political inclusion"@en .
<descriptor/nnn> <http://www.nnn.org/2004/02/skos/core#prefLabel> "Radiologische Kampfmittel"@de .
I want to extract a list of English strings which lies between the " "@en in outputfile-en.txt, and German strings which lies between the " "@de in outputfile-de.txt
In this example outputfile-en.txt should contain:
Political inclusion
and outputfile-de.txt should contain:
Politische Inklusion
Radiologische Kampfmittel
Which regex is suitable here?