Mass Edit
-
Hey there,
first things first; I am like an infant in this - and need this for my bachelors degree, which is why I’d happily give my firstborn* to anyone who is able to help me (please don’t make for granted though, it might turn out that I’ll never have a firstborn!)
Anyway - existential shit aside; I am having text files looking like this;Alter: 46
Wohnort: Ort
Sprachen: Language1, l2, l3
Sexualität: Sexuality
Suche: Goal1, goal2
Titel: text
Text: text2But I need it to look like this now
<article n=“4” title=“Titel” name=“M4” age=“46” place=“Ort” S1=“l1” S2=“l2” sexuality=“sexuality” goal1=“Freunde” goal2=“goal2”>
<s>text1</s>
<s>text2</s>Is there any way I can automatically tranform my raw files to the concept presented above?
*(just to make sure the FBI won’t knock on my door; this is a joke)
-
Axiomatic One:
I posted a similar request in the ‘Help’ forum and in the ‘Discussions’ forum:
https://notepad-plus-plus.org/community/topic/13808/search-replace-of-multiline-text-blocs
Search/Replace of Multiline Text Blocshttps://notepad-plus-plus.org/community/topic/13684/feature-request-textarea-search-replace#
https://notepad-plus-plus.org/community/topic/12973/multiple-line-replacing-doesn-t-work
Unfortunately, Notepad++ does not have such a great feature at this time (as of version 7.3.3). Personally, I use another great freebie: ‘Replace Text’ by Ecobyte.