Community
    • Login

    Create HTML table every second line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 235 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.
    • Gaurang AminG
      Gaurang Amin
      last edited by

      Hi

      How do I create this in table

      Like example
      <tr><td>Anti-Allergy</td><td>Yes</td></tr>

      Anti-Allergy
      Yes
      Easy Iron Function
      Yes
      Eco TimeSave
      Yes
      Hand Wash
      No
      Inverter Motor
      Yes
      MixLoad 69min
      Yes
      MyMix
      Yes
      ProSense® Technology
      Yes
      ProSteam®
      Yes
      SoftPlus
      Yes
      Steam Function
      Yes
      TimeSave
      Yes
      UniversalDose
      YesAnti-Allergy Yes

      Alan KilbornA 1 Reply Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Gaurang Amin
        last edited by

        @Gaurang-Amin said in Create HTML table every second line:

        <tr><td>Anti-Allergy</td><td>Yes</td></tr>

        Try:

        Find: (?-s)^(.+)\R(.+)
        Replace: <tr><td>${1}</td><td>${2}</td></tr>
        Search mode: Regular expression

        Learn more about regular expressions HERE so that you don’t have to ask next time.

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