Community
    • Login

    Marking over multiple lines.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 551 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.
    • Richard CraniumR
      Richard Cranium
      last edited by Richard Cranium

      I am looking to replace code over multiple lines, just trying to mark the lines that need to be replaced
      here is a sample of what needs changing

      [not sure how to use markdown here]
      [CODE]<property class=“Action1”>
      <property name=“Class” value=“PlaceAsBlock” />
      <property name=“Delay” value=“0.5” />
      <property name=“Blockname” value=“plantedAppleTree1” />
      </property>
      [/CODE]

      my search string (mark lines) I’m trying is

      class=“Action1” .* /property

      since I want to replace everything in between

      Eko palypseE 1 Reply Last reply Reply Quote 0
      • Eko palypseE
        Eko palypse @Richard Cranium
        last edited by Eko palypse

        @Richard-Cranium

        not 100% sure but are you looking for a regular expression like this ?
        (?s)class="Action1".*?(?=</property)

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors