Community

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

    Ersetzen mit Wildcard, wie?

    Help wanted · · · – – – · · ·
    2
    3
    215
    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 Gebhardt
      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 Kilborn 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        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 Kilborn
          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
          Copyright © 2014 NodeBB Forums | Contributors