function Replace (ctrl + h)



  • 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>]


  • @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-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.


Log in to reply