• Login
Community
  • Login

Create HTML table every second line

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 346 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.
  • G
    Gaurang Amin
    last edited by Nov 21, 2023, 12:04 PM

    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

    A 1 Reply Last reply Nov 21, 2023, 12:09 PM Reply Quote 1
    • A
      Alan Kilborn @Gaurang Amin
      last edited by Nov 21, 2023, 12:09 PM

      @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
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors