• Login
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.
  • B
    Bernd Gebhardt
    last edited by Jul 9, 2022, 2:22 PM

    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

    A 2 Replies Last reply Jul 9, 2022, 3:01 PM Reply Quote 0
    • A
      Alan Kilborn @Bernd Gebhardt
      last edited by Jul 9, 2022, 3:01 PM

      @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
      • A
        Alan Kilborn @Bernd Gebhardt
        last edited by Alan Kilborn Jul 9, 2022, 3:05 PM Jul 9, 2022, 3:04 PM

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