Community
    • Login

    Can one use Boolean "*" in the REPLACE function - Need to convert HTML to text - delete all <*>

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.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.
    • D.J. GibsonD
      D.J. Gibson
      last edited by

      Can one use Boolean "" in the REPLACE function - Need to convert HTML to text - delete all <>

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @D.J. Gibson
        last edited by

        @D.J.-Gibson
        yes, you can do this by using regular expressions in the replace panel of np++

        here is an example:

        original data:

        <title>test me</title>
        <a href="https://notepad-plus-plus.org">
        	https://notepad-plus-plus.org
        </a>
        

        activate search mode: regular expression:

        find what:
        <(.*?)>
        
        replace with: (leave this line empty)
        
        

        result:

        test me
        
        	https://notepad-plus-plus.org
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors