Community
    • Login

    Mass Edit

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      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: text2

      But 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)

      1 Reply Last reply Reply Quote 0
      • Ion SaliuI Offline
        Ion Saliu Banned
        last edited by

        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 Blocs

        https://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.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors