Community
    • Login

    function Replace (ctrl + h)

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.7k Views 2 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.
    • Dávid BrňákD Offline
      Dávid Brňák
      last edited by

      Please tip,

      I have more than 1200 html files. I need to replace the text in them. But most likely function Replace has a limited number of characters.
      How do I solve the problem? Thank you!

      An example of the part I need to replace:

      		</div>
      <div class="searchControlContainer">
      	<input type="hidden" target='_new'
      	       name="p"
      	       value="par"/>
      	        <input type="hidden" target='_new'
                 name="r"
                 value="occ"/>
                  <input class="searchButton" type="submit" value=""/ target='_new'>
      </div>
      <div class="searchControlButtons">
          <span class="searchIcon menuButton" target='_new'><span class="icon"></span></span>
          <span class="closeIcon menuButton" target='_new'><span class="icon"></span></span>
      </div>
      	<div class="suggestions" target='_new'></div>
      
      		
      		<li id="menuPublications" class="chrome menuButton script-ROMAN dir-ltr" role="menuitem" aria-label="" lang="sk" data-lang="V" dir="ltr">
                  <a href=""><span class="icon"></span><span
                              class="label"></span></a>
              </li>
      
      						
      					                <li id="menuSynchronizeControls">
                      <ul>
                          <li id="menuSynchronize" class="chrome menuButton tbSync" role="menuitem"
                              aria-label="synchronizovať">
                              <a id="linkSynchronize" href="" rel="nofollow">
                                  <span class="icon"></span> <span class="label"></span> </a>
                          </li>
                          
                      </ul>
                  </li>
      		            <li id="menuSearchHitNext"
                  class="chrome menuButton iconOnly menuRight Vscript-ROMAN dir-ltr" lang="sk" data-lang="V" dir="ltr">
                  <a href="#"><span class="icon"></span></a></li>
          </ul>
      </div>
      
      
      
      	<div id="publicationNavigation"
       class="chrome lang-V script-ROMAN dir-ltr" lang="sk" data-lang="V" dir="ltr">
      <div class="secondaryNavToggle"><span class="icon"></span></div>
      
      <div class="pubNavTitle">
          <div class="chrome lang-V script-ROMAN" lang="sk" data-lang="V">
      	<ul>
      
      		
      	</ul>
          </div>
      </div>]
      
      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS Offline
        Scott Sumner @Dávid Brňák
        last edited by

        @Dávid-Brňák

        Find-what and Replace-with zones are limited to 2046 characters. Not much can be done to work around that.

        Scott SumnerS 1 Reply Last reply Reply Quote 1
        • Scott SumnerS Offline
          Scott Sumner @Scott Sumner
          last edited by

          @Scott-Sumner

          …and an additional complication is that it is not easy to get text with line-endings in it (such as you might try to do with a copy-and-paste operation) into the Replace-with zone.

          1 Reply Last reply Reply Quote 0

          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