Wildcards in Find/Change..

OK, In a references list in a book where it's numbered.. basic stuff..I need to find all instances of (return+## (could be a single or double or TRIPLE digit number)+. (period) and a SPACE and replace with same thing but that space turns into a TAB.. I thought I could do this with wildcard feature, which works in the FIND window, but that same wildcard isn't available in the CHANGE window.. I feel like I'm doing something wrong! help?!

Please give us a little bit more informations!
lisa98765 schrieb:
OK, In a references list in a book where it's numbered…
Automatically created or manually done?
In the first case (should be standard!) you can simple change your settings for the references list.
In the second case you should post exactly examples as text or a sample IDML (uploaded on a file hoster of your choice) or a screenshot of your Indesign list (with visible hidden characters).
Perhaps this helps a little bit:
Have fun

Similar Messages

  • Find/Change help with wildcard numbers...

    hello... i'm looking for help with wildcards...
    i have a specific task to complete.. i need to add dash & space into a space in a string of letters and characters...
    here
    221kbps - 00:28:34space dash space here47Mb - 44.1 kHz
    198kbps - 01:27:43 41Mb - 44.1 kHz
    215kbps - 00:34:52 156Mb - 44.1 kHz
    225kbps - 00:32:14 54Mb - 48 kHz
    so my finished text will look like this
    221kbps - 00:28:34 - 47Mb - 44.1 kHz
    198kbps - 01:27:43 - 41Mb - 44.1 kHz
    215kbps - 00:34:52 - 156Mb - 44.1 kHz
    225kbps - 00:32:14 - 54Mb - 48 kHz
    there are many variables to the text - but i thought perhaps i could create a wildcard digit find/change based on the Mb bit, replacing the single space with space dash space
    BUT
    i need to retain the numbers before the Mb
    so my question - is it possible to RETAIN WILDCARD NUMBERS?
    merci beaucoup!

    omg... just fell of my chair
    tried it in text - no joy...
    tried it as a grep.
    YES YES YES
    thankyou so much - i have about 18,000 to format for a music website...
    www.littledogdiscs.co.uk
    if you ever find your way to our neck of the woods in the South of France - please do visit my b&b
    www.maisonverdigris.com
    i have a bottle of vintage champagne with your name on it...
    thanks
    teresa

  • Help with Find/Change and wildcards

    I have indesign CS5 and I'm working on a document that has math examples throughout such as 9-1=8. The proofreader said we need to change it to have a space between each digit and math symbol to be 9 - 1 = 8. How can I do this? When I go to Find/Change I have the option of wildcards in the Find, but not in the Replace.
    Also the dash in these equations need to be changed to en dashes. How can I tell indesign that anytime is sees such an equation the dash needs to be changed? I don't want to just change all dashes as I have many dashes that need to stay.

    I do it in two steps, first changing the hyphens to en-dashes:
    Find (?<=\d)-(?=\d) which finds any hypen between two digits
    Replace ~= which is the en-dash
    Then use a class to hold the math symbols:
    Find (\d|\))([\+\*/~==])(\d|\()   (this adds open and close parentheses to the search before or after a symbol -- if your equations don't use parentheses you can eliminate the |\( and |\) from the first and last search groups)
    Replace $1 $2 $3  (there's a space between the terms there).
    This does not include radicals, or advanced math symbols in the search, so if your equations use those, you need to add them, and it doesn't put spaces between digits and parentheses.

  • Is there a way to find/change the font of numericals only, within a document in indesign?

    Is there a way to find/change the font of numericals only, within a document in indesign?

    It might not be what you need for this document, but if you were creating it from scratch, a GREP style would probably be the way to go. That way,  new figures added to the text will  automatically be styled the way you like.
    Start with a base Paragraph Style (i.e. 'Body') that all subsequent styles ('Heading' etc) are based on. Select a figure, and apply the font and any other attributes required. Select it and make a new Character Style. In your Paragraph Style, go to GREP Styles, and set it to apply the Character Style to the 'Any Digit' Wildcard.

  • Find/Change Varying dates..

    I have a varied dates that appear throughout a LONG document.. for instance "January 14, 1945" date changes all the time of course.. usually appears at start of a paragraph.. i need to set up a find/change to be able to select it, and I need to change it's style.. is this the wildcard choice somehow in find/change?

    try a GREP search for      \<\w+\.? \d\d?, \d{4}\>      (those are ordinary typed spaces after the first ? and the comma). If should find dates with months spelled out or abbreviated with or without a period. You can use this in a GREP Style as part of a paragraph style to apply your character style so you don't need find/change

  • What happened to Find/Change Special Characters

    I am a recent update from FrameMaker 9 to FrameMaker 11. I use many notations with non-breaking hyphens and non-breaking spaces. In version 9 I was able to use the hex codes in the Find/Change dialog box and find and replace those notations. Now in version 11, it does not find those characters. I end up finding more than I want.
    For Example: I want to find
    (E-Vote Sept. 12, 2008)
    This text has a non-breaking hyphen and the spaces shown are non-breaking also. When I entered these characters into the document, I used "Esc hyphen h" key sequence for the hyphen and "Control+space" for the spaces.
    When I enter "(E\x15Vote\x10Sept.\x1012,\x102008)" and press the Find button, FrameMaker converts the text to "(E\+Vote\s#Sept.\s#12,\s#2008)" and returns with a statement "Not Found." I get the same error if I copy the text and paste it into the Find/Change Dialog box. I have tried this with the "Consider Case," "Use Wildcards" and the "Whole Word" checks both off and on. I can't get it to find it.
    Honestly, I never noticed if verstion 9 did the conversion, from \x15 to \+ and \x10 to \s#, in the Find/Change dialog box because it always found what I was looking for.
    I hope someone can tell me how to fix this because this is a function that I use all the time in FrameMaker. I use non-breaking hyphens and spaces all over my documents.
    I have also reported this as a bug because that is what if feels like to me. I did go out and updated my installation of FrameMaker, thinking that this may have been reported and fixed already.
    One Sad FrameMaker User
    Chris

    Chris,
    That's odd. It (dialog-box codes) works for me on my systems:
    Using the dialog-box codes works perfectly. The unicode values for the non-breaking space (nbsp = \u00A0) and non-breaking hyphen (\u2011), however, aren't working. It looks like the wrong glyph is being substituted in both cases.
    This is definiely a bug when doing a unicode-value search.

  • How to find Change number for a Material

    Hi,
    If we know the material number and Revision level then how can we find the Change Number of that material.
    Is there any table in which i can find Change number for a revision level or is there any Function module available.
    Regards,
    Vaibhav

    Hi Vaibhav,
    Is there any table to find the change number and revision level of a material. I have change number and material and revision level coming from external system. But i need to check that with SAP whether it exists or not.
    Is there any table link to find whether a material has change number.

  • Find Change through external text file

    Hello folks
    I am bit pretty in InDesign scripting so could you please look into this.
    How can i change any particular text field in Indesign CS3 document from text file.
    I do have find change script but for each InDesign document specific text file is assigned.
    So each time i have to modify find change GREP property that is also repetetive of work. Is there any way to get find change information should be extract from external text file.
    Many Tanks in advance

    In the FindChangeByList script, you could customize the function myFindFile(myFilePath) {...} as to search the FindChangeList text file in the document location rather than the script location. That's an example. The question is: given a document, where will you have the corresponding FindChangeList?
    @+
    Marc

  • How to Open Find/Change with menuAction

    Hi,
    Read the question carefully I'm asking how to open the Find/Change
    dialog, not how to toggle it.
    Toggling is easy enough:
    app.menuActions.itemByName("$ID/Find/Change...").invoke();
    But if it is open, this will close it, and vice versa.
    I'm wondering if there's any way to specifically make sure it's opened?
    Thanks,
    Ariel

    Hi Ariel,
    This probably won't help but see https://forums.adobe.com/message/4413557#4413557
    If you could perform some action that will fail if the panel is closed then you could use a try catch to determine its state.
    I'll leave it to you to think of what that action would be.
    Trevor

  • FrameMaker 8 (Unstructured) - How to Find/Change "Referenced File" location globally?

    Hello,
    First off, I have a FrameMaker 8 (Unstructured) book that links ALL of its graphics, to a separate graphics folder on my network drive.
    With that said, I am hoping to do the following:
    1. Create a mirror copy of "Book A" and place that copy in another folder, (at the same level) on my network drive.
    2. Open up the new book file (e.g. Book B).
    3. Run a Find/Change to replace:
    ..\..\..\Graphics Catalog A\Graphics\a000123.png
    ..\..\..\Graphics Catalog B\Graphics\b000123.png
    The end result is that I could globally map out all the "Referenced Files" to the new folder path structure. This will allow me to save from having to manually re-import each of the 1000 graphics - into my book files.
    Finally, I am hoping to do this with the built in capabilities of FrameMaker 8 first. If that is not possible, then I will consider other possibilities.
    Thanks in advance for any suggestions.
    Regards,
    Jim

    This is how you do it:
    Outside of FM, copy the "Book A" folder and paste it where you want.
    Also, create the Graphics folder and file structure (i.e.
    "... Graphics Catalog B\Graphics ...")
    Before you open Book B in FM, temporarily rename the graphics
    folder that the FM files in Book A uses, e.g. "Graphics Catalog Z".
    Now, when you open the files in Book B, FM won't be able to find
    the old graphics since the folder name has changed. For each file,
    FM will open the "Missing graphics" dialog, where you need to
    browse to the new graphics folder, e.g. "Graphics Catalog B\Graphics".
    Select the correct file that FM asks for, and tick the option to
    use this folder for all remaining graphics.
    If all the image file names are identical, you will only need to
    do this once per FM file. If you really need the image file names
    to differ like you said:
    > ..\..\..\Graphics Catalog A\Graphics\a000123.png
    > ..\..\..\Graphics Catalog B\Graphics\b000123.png
    then you need to select the correct file name for *each* graphics
    that FM cannot find. This is a good reason to keep the file names
    identical, even though the folder name has changed.
    When all the files have opened, rename the original graphics folder
    back to "Graphics Catalog A".
    /Thomas Michanek

  • How do I make a script to find/change many in one go

    I have a long list of words that I do a find/change to avoid breaks and keep with the next word. Words like Dr. Mr. Mrs. :
    Is there an easy way to put all the words and symbols that I want to change into one script to save doing each one at a time?

    1) Free solution: FindChangeByList.jsx
    (in \Scripts\Scripts Panel\Samples\JavaScript)
    2) Better and very flexible solution: Multi-Find/Change
    http://www.automatication.com/index.php?id=12
    @+
    Marc

  • [JS CS3] Find/Change "[Basic Paragraph]" style

    I'm trying to find all occurances of the [Basic Paragraph] style and replace them with [No Paragraph Style]. I'm using:
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph Style]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";
    I get the message "Invalid value for set property 'appliedParagraphStyle'. Expected String, ParagraphStyle or NothingEnum enumerator, but received "[Basic Paragraph Style]"."
    I've tried every combination of brackets, no brackets, quotes, no quotes, etc. It doesn't seem like this can be scripted, even though it can be done via find/change in InDesign. Am I banging my head against the wall? Does anyone know if this can be done?

    "[Basic Paragraph]" as shown in the code below doesn't work either. (the word "Style" actually snuck in as I was trying different variations. But no combination seems to work.
    If anyone knows that [Basic Paragraph] can or cannot be accessed via scripting, I'd like to know. Thanks.
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";

  • Finished script: Use grep find/change to fill in a supplied table of contents

    This script is now complete, and has been the subject of most of my previous posts. Just in case anyone wanted to know what the finished script ended as, here it is.
    Thanks so much to all. A lot of really helpful folks on this board are very responsible for the success of this task. This script is to be one of hopefully many in the creation of our records. But it's a huge leap forward. Thanks again to everyone that helped.
    Cheers,
    ~Nate
    Task:
    Automatically find town names in listings, and fill in table of contents template on page 2 accordingly.
    Example of page 2 toc, initially:
    Example of a page of content. The town names are what need to be referenced on the TOC:
    Example of page 2 toc once script is finished:
    Because of the need to include the transaction dates on the TOC (comes as a provided, tagged-text file), a simple Indesign-generated TOC can't be used alone.
    This script uses an Indesign-generated TOC that's on a master page called "T-tocGen" ... It then uses grep search and replaces to grab the needed information, and insert it into the page 2 TOC.
    The script will update a generated TOC and then search for an instance of a page number, and town name. The generated toc lists all included towns in the following format:
    (line start)## tab townName(line end)
    In Grep, this would be (please note, extra \ for \d and \t ... javascript needs that for some reason):
    ^\\d+\\t(.*)$
    After the script gets the info it needs from a found instance of the above, it replaces that line with "---", to prevent that line from being picked up once again.
    The script with then place the needed page number in it's rightful place on page 2, replacing the XX.
    A while loop is used to repeat the above process until there are no longer any instances of "^\\d+\\t(.*)$" present.
    Not every town runs every issue, so once the script is done, it removes all remaining instance of "XX" on the page 2 TOC.
    FINAL CODE:
    TOC replace
    This script will use grep find/change methods to apply page numbers in
    tocGen to the XX's on page2TOC.
    // define the text frame of generated TOC
        var tocGenFrame  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
    // udpate generated TOC ... store contents in tocGenStuff
        var tocGenStuff = updateTOCGen();
    // set variable for while loop
    var okGo = "1";
    // while okGo isn't 0
    while(okGo.length!=0)
    // get town info from tocGen
    getCurrentTown();
    // replace XX's with tocGen info
    replaceTown();
    // grep find ... any remaining towns with page numbers in tocGen?
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // set current value of okGo ... with any instances of above grep find in tocGen
    okGo = tocGenFrame.findGrep();   
    // grep find/change all leftover XXs in page2TOC
    app.findGrepPreferences = app.changeGrepPreferences = null;       
    app.findGrepPreferences.findWhat = "^XX\\t";
    app.changeGrepPreferences.changeTo = "\\t";
    app.activeDocument.changeGrep();  
    // clear grep prefs
    app.findGrepPreferences = app.changeGrepPreferences = null;
    //  functions                  //
    function getCurrentTown()
    // grep options   
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // grep find:  startLine anyDigits tab anyCharacters endLine
          app.findGrepPreferences = app.changeGrepPreferences = null;
          app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // get grep find results      
    currentGen = tocGenFrame.findGrep();  
    // store grep results content into currentLine
    currentLine = currentGen[0].contents;
    // match to get array of grep found items
    currentMatch = currentGen[0].contents.match("^\\d+\\t(.*)$");
    // second found item is town name, store as currentTown
    currentTown = currentMatch[1];
    // change current line to --- now that data has been grabbed
    // this is because loop will continue as long as the above grep find yields a result
           app.findGrepPreferences.findWhat = "^\\d+\\t"+currentTown+"$";
                  app.changeGrepPreferences.changeTo = "---";
                tocGenFrame.changeGrep(); 
    function replaceTown()
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // find: XX currentTown .... replace with: currentLine
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = "^XX\\t"+currentTown+" \\(";
        app.changeGrepPreferences.changeTo = currentLine+" \(";
    app.activeDocument.changeGrep();   
    function updateTOCGen()
    //set vars ... toc text frame, toc master pag
        var tocGen  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
        var tocGenPage  = document.masterSpreads.item("T-tocGen").pages.item(0);
    //SELECT the text frame generatedTOC on the master TOC
        tocGen.select();
    //Update Table of Contents by script menu action:
        app.scriptMenuActions.itemByID(71442).invoke();
    //Deselect selection of text frame holding your TOC:
        app.select(null);
    //store contents of toc text frame in variable
        var tocGenText = tocGen.contents;
    //return contents of tocGen
        return tocGenText;

    Thanks for the reply.
    You are correct but the problem is there are three rows, One row is 100% black, the second is 60% black and the third is 40% black. I want to change the black to blue, the 60% black to an orange and the 40% black to a light shaded blue. In the find/change option you can select the tint you want to find and replace but yea.. does work on table cells.. oddly enough.

  • Find/change using end of paragraph marker /p

    Folks,
    We are attempting to remove a space at the end of a paragraph in unstructured documents.  If I enter ' \p' in the Find text field in the Find/Change dialog FrameMaker finds the the appropriate paragraphs.  If I then enter '\p' in the Change text field in the Find/Change dialog and click Change the space is removed.  However the target paragraphs style is also applied to the the following paragraph.  This occurs in FrameMaker 8,9 & 10.
    If the Find/Change scenario above is followed with these two paragraphs the first paragraphs style is applied to the second paragraph.
    paragraph 1 with a trailing space and using Heading 1 style
    paragraph 2 using Heading 2 style
    Any thoughts?
    regards
    Jon

    JonEBe wrote:
    Arnis,
    Thanks!
    Yes why bother indeed!  I am at the end of a rather lengthy process to convert the creation and output of Framemaker documents into a database with a web front end.  As part of this the existing documents are imported to save lengthy keying/rekeying.  The output from the system is then compared against the originals.  As a matter of course I stripped of leading or trailing spaces (it is amazing how many there are in a manually created/updated document) so we therefore have noisy comparison documents as a result.
    BTW the trailing spaces are apparently a legacy of the conversion from WordPerfect.
    My choices are to re-import without stripping the trailing space and remove them at a later date or create a script using the FDK, which I am very familiar with, and is the likely outcome!
    Jon
    Just a wild thought - a real GREP processor, not the mild imitation in FrameMaker, can find a construction like a space followed by a paragraph marker and delete the space without affecting the marker. The technique is a form of the "lookbehind" or "lookahead" feature. I'm zero-skilled at actually doing this beyond just mentioning it, but the technique might work in a MIF, or text conversion, of the file. Search Google for terms like "GREP lookbehind lookahead," without quotes.
    Another possibility is that once the FrameMaker file is converted to the database, it would be possible to use a database command to remove the space.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to use Find Change to add FC in front of all item numbers?

    Hello,
    I am using Indesign CS5 on iMac, running OS 10.8.3.
    I designed a product catalog that has 148 pages. Now I need to save the same design and make a new catalog for our wholesalers. On the wholesalers catalog I need to change the item numbers and add FC in front of each item number. How can I use find change to find each item and change them with FC in front of the item numbers? The following are a few examples of the item numbers:
    LED-4042 I want to change it to FCLED-4042
    UA-42 I want to change it to FCUA-42
    SC-110 change it to FCSC-110
    KN-10 change it to FCKN-10
    etc....
    I am hoping there is a fast way to find and change these.  I was looking in to GREP, but I could not figure how to do this.
    Thanks,
    Omar

    One way would be to just run it and then *remove* any double FC's -- but GREP can do even more! One of its many functions is to scan ahead for the presence or absence of certain text, and only act when it is (or it is not) there. This is called "lookbehind" (before the text you want to match) and "lookahead" (after the text you want to match).
    In this case, you want to find a phrase starting with capitals, but NOT the exact string "FC". That's a job for Negative Lookahead -- Only Match If Not.
    Try this: search for
    \b(?!FC)\u+-\d+\b
    ... the Replace With stays the same.

Maybe you are looking for

  • How can I use Labview to recall saved states on my HP8920B RF Test Set

    I need labview6.1 to recall saved states on my RF Tester. There is a recall button on the front of my tester, all you have to do is select the state's name and it opens up on the screen. I want Labview to do this work with a click of the mouse. I am

  • Problem with the query of Sharepoint Calculated Fields

    Hello, I am developing an application in sharepoint 2013 foundation. but i have problems with a list, when executing a caml query on a calculated field. I try the solution of this blog http://sptalks.wordpress.com/2013/03/25/query-on-calculated-field

  • No Help Available for any software

    I found that I'm unable to connect to any Mac "Help" links for any of my mac software ie Safari,iTunes etc. It seemed to coincide with my purchasing the extended warranty & running the Cd Rom which came with it or maybe it's a coincidence. Either way

  • Uh Oh, Students Grade Themselves a "C" - or Worse - On Personal Finance

    As I have a child going off pretty soon to college, I was laughing at the truth of a brief article posted regarding how kids these days have not really prepared regarding personal finance and have a few misconceptions.  Stats in the article are rathe

  • Processes Parameter in 11g

    Hello, Oracle offers licencing by the number of processes parameter. I want to increase Processes value to 300. let me know oracle recomends any licence aggrement? or we can increase the processes parameter any value depends on the no of CPU's ? Is t