Community
    • Login

    Ersetzen mit Wildcard, wie?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.8k 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.
    • Bernd GebhardtB
      Bernd Gebhardt
      last edited by

      Hallo, ich möchte diesen Ausdruck width=“800” hight=“irgendwas” border=“0” durch das hier width=“80%” border=“0” ersetzen. Das irgendwas kann eben eine x-beliebige Zahl, drei- oder vierstellig sein. Bisher habe ich keinen Weg gefunden. Wie kann man das hinbekommen`?
      Vielen Dank

      Alan KilbornA 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Bernd Gebhardt
        last edited by

        @Bernd-Gebhardt said in Ersetzen mit Wildcard, wie?:

        Hello, I want to replace this expression width=“800” hight=“something” border=“0” with this width=“80%” border=“0” . Something can be any number, three or four digits. So far I haven’t found a way. How can you do that?

        Please note that the preferred language of the forum is English.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn @Bernd Gebhardt
          last edited by Alan Kilborn

          @Bernd-Gebhardt

          Maybe try:

          Find: width=“800” hight=“\d{3,4}” border=“0”
          Replace: width=“80%” border=“0”
          Search mode: Regular expression

          Note: Because you didn’t follow the RULES for posting such a question, I don’t know what “kind” of double-quotes you have, so you may have to adjust that.

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