Community
    • Login

    Ersetzen mit Wildcard, wie?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 3.0k Views 1 Watching
    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 Offline
      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 Online
        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 Online
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors