Find and replace all of the odd numbered lines?

Is their way to search for and replace or delete really, all the odd numbered lines in code view? I have about 12,000 lines of code but you don't need that things on the even lines.

Thank you very much for the help!

The odd lines contain random numbers and letters, that's why I can't just find and replace. If they were embedded in a tag, say a 34341 is the way for me to tell dreamweaver to remove all the interval and ? That would solve the problem.

Tags: Dreamweaver

Similar Questions

  • Find and replace all occurrences of a string within the current paragraph.

    I did so much work, and it's my last method to implement.

    I want to get the current active doc the current paragraph and replace all occurrences of a string inside this paragraph with another string.

    For example, say I have the following paragraph in a document:

    «This is a sentence that.» This is another sentence. It is also another sentence. The sentence ".

    If the user opens the document containing the paragraph and goes to this paragraph by clicking in any place in there, I want to replace e.g.g "another punishment" with "phrase.

    But only in the current active paragraph in the active document.

    I found a code with F_ApiFind and F_ApiGetTextRange to get the current text selection, but I can't think of a way to do it.

    Post edited by: Efstathios Chatzikyriakidis

    Problem solved people. Thank you.

  • Find and replace all caps

    Asked if Framemaker has a global find and replace function cancellation capital letters in sentences. I remember vaguely word being able to do that, but it's been some time that I used Word. I inherited a document in which the author used caps init on almost everything.

    Find/replace is powerful in FrameMaker but doesn't address this specific issue. If you want to stay in FrameMaker remedy, you can either:

    1. Enter the text formatting toolbar to access the case for change (dark red) buttons:

    2. use keyboard shortcuts:

  • Find and replace Question (skipping the code block)

    Hi, I worked on it for a few days now and can't seem to make it work. I read through the tutorials page Trent Mueller, etc., but it does not work just the way I need to. I'm really starting to get a little goofy to manually place images based on finding the unique product code. I'd appreciate any help really.

    I'm working on a catalogue and I have about 200K lines of products that use one of the 10 images. Basically, I need to find and replace:

    < class td = "xl15700" style = "border: solid windowtext .5pt ' > PRODUCT < table >

    < class td = "xl64700" style = "Dimensions are: 11.0pt;" color: black; Police-weight: 700;

    text - decoration:None; Text-Underline - style: None; Text-line - through:None;

    do-family: Calibri; border-top: none; border-right: none; border-bottom: .5pt solid windowtext;

    border-left: none; background: yellow; MSO-model: black no ' > < table > ABCD

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > < table > ABC

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > DEF < table >

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > < table > GHI

    < class td = "xl70700" style = "border-top: none" >  </td>

    in:

    < class td = "xl15700" style = "border: solid windowtext .5pt ' > PRODUCT < table >

    < class td = "xl64700" style = "Dimensions are: 11.0pt;" color: black; Police-weight: 700;

    text - decoration:None; Text-Underline - style: None; Text-line - through:None;

    do-family: Calibri; border-top: none; border-right: none; border-bottom: .5pt solid windowtext;

    border-left: none; background: yellow; MSO-model: black no ' > < table > ABCD

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > < table > ABC

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > DEF < table >

    < class td = "xl64700" style = "border: solid windowtext .5pt ' > < table > GHI

    < class td = "xl70700" style = "border-top: none" > " < img src ="... /.. / images/PRODUCT.jpg "> " < table >

    I tried to use many of the buildings, but I can't move me many questions. I'd really appreciate any guidance and help.

    I thought about it...

    To find:

    U27-2CHIP-(C|) MY | THERE | K)\n*\s*]*)>(.*?) \n*\s*]*)>(.*?) \n*\s*< td(\b[^="">]*)>(.*?) \n*\s*]*)>(.*?) \n*\s*]*)>(.*?)

    Replace:

    U27-2CHIP-$1\n$3\n$5\n$7\n$9\n

    Thanks for your help, Murray. I appreciate it.

  • How to find and replace text in the index entries?

    Hello

    Recently, I copied a manual to create a new one for another product. After a global search and replace the product names and other texts, I needed to replace a specific word that appears in the index entries.

    I noticed the search box would allow me to search the text of the marker, but I had to replaceme the word by hand - cut and paste the new Word, click on change the marker to save it and then find the next occurrence.

    It's with frame 7.2. Does anyone know a faster way to do this?

    Yours,

    Michael F.

    =========

    Peter,

    Thanks for the lead.

    I downloaded the zip file and all it contains is a DLL file, but no instructions.

    What should I do to make it work and how do I know that it works?

    Yours,

    Michael F

    ========

  • Find and replace all layers

    Hi all

    How can I find and change in all layers so hidden layer

    app.findGrepPreferences.findWhat = "\\s\\s+";

    app.changeGrepPreferences.changeTo = "";

    app.changeGrep ();

    app.findGrepPreferences = app.changeGrepPreferences = null;

    Thank you

    Steve

    app.findChangeGrepOptions.includeHiddenLayers = true;
    
  • Find and replace the work of the Meta Descriptions?

    If someone has found a way to make a site-wide find and replace, to access the Meta Descriptions, titles or embedded HTML?  I am involved in a project of cloning of dozens of web sites Adobe Muse & change text in various areas.  It would be a HUGE timesaver.  Appreciate all the help that can be offered on this topic!

    Thanks for getting back to me on that.  Search for replacement & is great, but it's a disappointment that only the body of pages can use this function when it has so much important text in page descriptions and titles!  I would love to see this feature added to a future version of Adobe Muse... Any chance you could forward that request to the right person to review?

    Thank you!

    Chris

  • Find and replace the part of a url in the menu

    I use a tesing server and have all my links in the pop-up menus that are linked. I'm about to go live and you want to substitute the name of the test server with the new true site name. Subdirectory names, and the page will be the same, just the domain part evolves. Is it possible to find and replace it in the world, or do I have to go into my png and redo every single link?

    You did your absolute links? Why?

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "EVN" wrote in message
    News:e64uf9$7LP$1@forums. Macromedia.com...
    > I use a tesing server and have all my links in the related pop-up menus
    > to
    > it. I'm about to go live and want to replace the tests
    > server
    > name with the new name of the real site. The subdirectory names and page
    > the
    > even, just the domain part is changing. Is there a way find and replace
    > This
    > in the world or what I have to go into my png and redo every single link?
    >

  • Find and replace it with an invalid Code in Dreamweaver CC 2015

    I have a HTML file of 800 line with about 200 H3 tags not closed I want to remove. I try to use search / replace, but it doesn't seem to be able to find non closed tags.

    In the excerpt below, I want to remove or delete the H3 tag:

    < /ul >

    < /li >

    < h3 class = "best_SubCategory_Title" id = "455474Title" >

    Best sedan

    < ul class = "ssMatchup_Entries" id = "Matchup455474Entries" >

    < /Li > < li > agreement

    Camry < li > < /li >

    Mazda 6 < /li > < li >

    Passat < li > < /li >

    < /ul >

    I tried different ways, but Dreamweaver search / replace engine can't not find invalid or cavities not blocked tags?

    Here are a few things that I tried, and as you can see, Dreamweaver cannot find the H3 tag:

    Screen Shot 2016-01-21 at 11.18.39 AM.png

    Screen Shot 2016-01-21 at 11.19.47 AM.png

    If I close it manually one of the H3 tags, and then find and replace can find. I think I can use regular expressions to do this, but I need to understand this too, if that's the only way.

    What do you think? Any idea on how to get rid of 200 H3 tags not closed? Perhaps another application?

    Answered my own question, here is the solution:

    For some reason, Dreamweaver cannot find and replace invalid code, or at least it is not easy to do. My problem was that I had a H3 tag not closed and would not replace it. I had to first close the H3 tag, and then I could replace it.

    I did a find and replace the one sought a ">" followed by a lot of white space, like this:

    As my license to close the H3 tag, then I could easily find and replace all now closed H3 tags, like this:

  • Find and replace text in documents invisibly

    Hello

    here in this forum I found the Russ find/replace function in ExtendScript, with which you can find and replace text. The script works perfectly when the documents are opened. In the case of invisibly open documents, that the script does not work since TextSelection is obviously applied. Refer to link:

    https://forums.Adobe.com/message/4032650#4032650

    I want to find and replace text within a structure of book, it would be useful if I could do it in documents that are not visibly open (Constants.FS_MakeVisible = false). Does anyone have an approach to find and replace in documents that are not visibly open? Or can someone confirm that this is only possible with TextSelection, which means that it does not work in documents open invisible?

    Thank you very much!

    Concerning

    Apollo102

    Apollo,

    I looked into this and I was able to reproduce the problem. Unfortunately, I wasn't able to find a perfect solution. Running in the debugger, I found that the failure occurs with the Find() call. All paragraphs, the text ranges, etc. are valid... it's just that the Find() call fails to find anything.

    I found that if you turn on/off the display, all of a sudden the Find() operation works with the hidden document:

    doc. IsOnScreen = true;

    doc. IsOnScreen = false;

    I don't know if this is a practical solution and of course, you may as well open visible in the first place. Would be of no help to just disable the updates with the interface?

    App. Display = false;

    Just be sure to return true at the end of the script

    I'm sorry I couldn't find a complete solution. It might be possible to appeal to something that makes the hidden document searchable, but I did not understand it.

    Russ

  • Hi, XI - Win 7 64 bit.  AR prints only the even numbers when I allowed of the odd numbers only :-(

    Hi hope you can help.

    AC' reader XI (win 7 64 bit).   I expected that a series of pages of odd number only, but only prints even numbers.

    Tried several sets of tests, but still prints even pages.   It is a PDF of a new Casio keyboard manual from their site.  I can read

    the PDF on my computer and can print single pages, but the above problem is disconcerting.  ~ Thank you if you can offer any help.

    see you soon

    Thanks, MVP for your quick response.

    Yes, I tried now opt to print even pages only in the range of 1 to 8 and now it prints the odd numbers. Hey Hey

    Well, for the sake of my sanity, I'll take a break for some sponge cold and some chanting and then return refreshed.

    EDIT - SOME TIME LATER: well, thanks for any help, greatly appreciated.

    Now I see what the problem is, thanks for the explanation page numbers cordially.

    Looks like Adobe Reader made its own system of numbering pages before printing.

    Would have liked to wear to try, but did not want to destroy half of a forest.   Presented the PDF document on the local printer instead. quite.  :-)

    Very much appreciate your help. Think I'll stay for the simple printing of the page (no double-sided) in the future.  See you soon.

    Harold

  • Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    • I am running Windows 7 for packs SP 1 or SP 2 does NOT solve my problem since neither one works with Windows 7.  Is there a way to search for this MUI (Multiple User Interface) missing file? The every thing must have himself installed in the first place. I took my mom (she died in June) and my brother on this PC as users so even if they do not use this PC supports multiple users. Maybe if I deleted as a reboot and additional users it will solve my problems. My updates install OK but I can't run at all system restore. It creates a restoration point OK but when I try to sr back to a restore point before I get the error 0x80073AFC topic of the missing MUI file. Then, when I spear SR it is said that he could not and no files have been changed because of the error 0x8000FFFF error, unspecified catastrophic failure and could not retrieve the file several times when system restore is attempted.

      I'm running Windows 7 on a HP Pavilion with browser Firefox 3.6.8 browser Opera 10.60, IE8 and Google Chrome 5.0.375.125 browser browser.

      Can you tell me what I try next? Thnks a lot and sayonara for now the guy-Jack McElwee / keimanzero the Scion of the Anime in Brookhaven PA - USA

      OK I tried everything and nothing works! Only added beginners are updated browser Opera 10.63; IE9 (Beta); Firefox 3.6.12 and Google Chrome 7.0.517.41 and Java 22. Of course like everyone else in the world, I had to uninstall/enable and disable/download again and reinstall new Adobe Flash 10 and 11 of the shock wave and they keep crashing too! Hello 4 keep screwing browsers and now I get connection network problems. I run Comcast doctor and did everything it said to do, but nothing works. Oh and I added 7-Zip and WinZip also. Likewise, they will not work! Help! Thanks - K & K

    keimanzero,

    Comcast of Norton Security Suite version is installed? If Yes, who and perhaps malware is most likely to cause questions you have published, in particular the failure of the restoration of the system.
    First, configure the system to boot - How to solve a problem by performing a boot in Windows Vista or in Windows 7
    NOTE: Start-up mode minimum state all the 3rd party firewalls will be disabled. Open Control Panel > Windows Firewall to make sure that the native firewall of Windows 7 is now on.

    Download and Save the update system (or CheckSUR) tool. You will need to download the specific Version of CheckSUR corresponding to the architecture of the system to Windows 7. If you do not know the architecture of the system, and then click the link that says "Click here to show or hide the instructions step by step with images" under method 2: download the update directly system preparation tool from Microsoft Download Center .
    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2

    Once the download is complete, close all open programs and browsers. Now, run CheckSUR with the system connected to the internet because it will download the .cab for system files. Reboot once CheckSUR is complete.

    Secondly, I suggest that you run the File Checker system while in the same clean boot state.
    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the field search programs and files .
    2. Right click on cmd.exe in the programs of list, and then choose 'run as administrator '.
      If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    3. At the command prompt, enter the following line exactly as written including the space between thec and the/and then press ENTER:
      sfc/scannow

    When the analysis is complete, test to see if the problems facing the system have been resolved.

    If they are not, you will need to contact Norton support for the version of Norton Internet Security Comcast to get help, or just uninstall NIS, run the Norton removal tool (right click Norton_Removal_Tool.exe, choose "Run as Administrator"), reboot and then check to see if the problems are still occurring.

    Expert MowGreen Windows IT Pro - consumer safety

  • A Script to find and replace the layer names

    Is there scripts to find and replace the names of layers?

    There is an excellent script available for Photoshop that allows you not only to replace words in layer names, but also insert words as prefixes, Suffixes and sequential numbers.

    The version of the illustrator of this script allows only sequential numbering: it does not offer search and replace words.

    Ideally, it would be great if there were something that could find multiple and replaces in a go:

    (for example

    You have layers like this car, the dog, the bat

    You enter: because (Option1), dog (Option2), Bat (Option3)

    Your layers become then: option 1, option 2, Option3).

    )

    Big_SmiLe, which is a very good start! Step 1 of learning how to Script is indeed, by adjusting an existing simple script to make things more complicated. (And usually then "break something", which is also a necessary part of the process.)

    You are right your comment, it comes to repetitive things. For one or two different articles that wouldn't be a problem, but in the longer lists you are soon lost.

    As usual to work with lists of search - replace is to build a table:

    var layernames = [
    [ 'FHairBowlBoy *Hair', 'Hairboy1' ],
    [ 'FHairCurlyafroBoy *Hair', 'Hairboy2' ],
    [ 'FHairSpikyBoy *Hair', 'Hairboy3' ],
    ];
    

    The general idea is to loop through all the names, check if the current layer name is "layernames [i] [0]" (the left column) and if so, rename it "layernames [i] [1]" (the right column). If you know how to write a loop in Javascript, then you can implement this immediately.

    However...

    A more advanced method to do this didn't need even loop on all layernames - instead you can immediately 'get' the correct name by layer! It's magic! Almost!

    The trick is to use a Javascript object rather than a table. JavaScript objects are nothing special; "Layers" of Illustrator are an array of objects, and each object 'sex' has a 'name' property, which you can read and set the value. What I do here, is to create a new object, where the part 'name' is the name of the original layer and its value is the name of the new layer. All you need to check each layer is if there is a "object.originalLayerName" property and if so, assign its value to this layer name.

    It looks a bit like the table above, except that (1) you use {.} instead of [..] to create an object and (2) you add pairs "name: value" instead of 'value' only (in fact, the 'name' of a value in a table is simply her number).

    So here's what it looks like:

    // JavaScript Document
    var doc = app.activeDocument;
    // name indexed object
    var layernames = {
     'FHairBowlBoy *Hair':'Hairboy1',
     'FHairCurlyafroBoy *Hair':'Hairboy2',
     'FHairSpikyBoy *Hair':'Hairboy3'
    };
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++)
    {
     //Set up Variable to access layer name
     var currentLayer = app.activeDocument.layers[i];
     if (layernames[currentLayer.name])
     {
      currentLayer.name = layernames[currentLayer.name];
     }
    }
    

    Enjoy!

  • Find and replace the script in Question.

    Hi all

    I searched for a way to show the amount of changes here?  My script to find and replace is working however, I would like to see if there are changes 0 or 100 so that we know how much if any of the corrections have been made.  Basically, I want to show him the same type of information as the (Native find replace in Indesign). If there is a link that talks about this please point me in that direction.

    I found it... «changes var = ' must be set to the line in function changeGrep()...» I've got an example of script grep for you that replaces the word "December" 'Months' and alerts as to how many changes have been made.

    app.findGrepPreferences.findWhat = "December";

    app.changeGrepPreferences.changeTo = "month";

    changes in var = app.documents [0] .changeGrep ();

    var numChange = changes.length;

    Alert ("the changes have been made." + numChange);

  • Find and replace in the script editor

    I wonder if there is anyway in the script editor to perform a search and replace?  I can do a find by pressing cmd + f then if I hit shift + tab, I can stick it to the highlighted area which is great for a couple, but when I have a bunch of stuff is a pain.  I want to just do a replace all in the editor.  I can cut and paste the script in the editor for this, but I hope there is a key combination which makes appear a replacement all the dialogues.

    Unfortunately there is no gimmicks to replace. It's just not there.

    Another feature request Paul!

    Christophe.

Maybe you are looking for