Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    2
    2
    1199
    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. Gibson
      D.J. Gibson last edited by

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

      Meta Chuh 1 Reply Last reply Reply Quote 0
      • Meta Chuh
        Meta Chuh @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
        Copyright © 2014 NodeBB Forums | Contributors