Community
    • Login

    using search-replace possibly with wildcards?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 343 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.
    • Volker MennekingV
      Volker Menneking
      last edited by

      Next I have a question: A style statement keeps appearing in my htm-text, which is continuously counted. e.g.: id=“_x0000_i1110” id=“_x0000_i1111” id=“_x0000_i1112” Is there a way to delete all of these using search-replace? possibly with wildcards?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Volker Menneking
        last edited by PeterJones

        @Volker-Menneking ,

        Yes, by using the “Regular Expression” search mode in the REPLACE dialog box.

        You aren’t very specific, but it will be something like FIND WHAT=_x\d{4}_i\d{4} to find _x followed by 4 digits then _i followed by 4 digits. If that doesn’t work for you, you will need to read the “Template for Search/Replace Questions” to learn how to better ask Search/Replace questions.

        ----

        Useful References

        • Please Read Before Posting
        • Template for Search/Replace Questions
        • Formatting Forum Posts
        • Notepad++ Online User Manual: Searching/Regex
        • FAQ: Where to find other regular expressions (regex) documentation
        1 Reply Last reply Reply Quote 2
        • Volker MennekingV
          Volker Menneking
          last edited by

          @PeterJones said in using search-replace possibly with wildcards?:

          Template for Search/Replace Questions

          Thank you very much. It funkt.

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