How to create an InDesign Grep Expression of specific words

I have a long list of wishes of congratulations following a certain rhythm. How can I create a style of grep with the following sequence:

Congratulations to [name] for...

  • The first two words of the paragraph are always: congratulations to
  • Followed by: name
  • Followed by: to... (then continue with the rest of the info)

There is a style of general paragraph to paragraph, which we will call this 'body '. A character style, let's call 'fat', should be applied to the first word, then spread the word "to", apply the character 'fat' new style name (however that may be long) and stop at the word 'on '. Remember that the word "to" is mentioned again later on, so I would not use an expression with the words 'to', unless that can be specified only in the first instance.

I am new to GREP, but have found so far that what follows will give me the style applied to the first word characters: ^ congratulations

Thank you in advance to those who can help me here.

In your GREP style in the paragraph style

(?<=Congratulations to).+?(?="">

Tags: InDesign

Similar Questions

  • How to create the Indesign application with vc ++

    Hello

    I want to ask that how to create Indesign application using vc ++?

    I am able to develop applications in c# using COM and generate an Interop.Indesign.dll using the Adobe Indesign CS5.5 typotheque

    I am sucessfully create instance of Indesign using this code

    Type = Type.GetTypeFromProgID ("InDesign.Application");

    Application InDesign._Application = (InDesign._Application) Activator.CreateInstance (type);

    I'm not understanding how to use COM with vc ++ or there is another method to create an instance of Indesign using vc ++.

    or

    How to use Interop.Indesign.dll in vc ++ to create the instance of indesign.

    There is no .tlb file in indesign directory by which I generate .h and .cpp file that I can use in my project.

    I want to create Indesign in vc ++.

    Thank you

    Hi, I'm not a programmer VC ++ itself, so you can't give the code, but I can give some general measures that can you can get and hopefully solve your problem.

    We can use the COM Indesign object to hunting Indesign and its functionlaity of VC ++ or c# and other. What we need to do is import tlb files in our project so that we have the declerations of the methods exposed by the COM of Indesign interface and make a call to them.

    The .tlb file is present at "C:\ProgramData\Adobe\InDesign\Version Visual Support\7.0\Resources for Basic.tlb 7.0\en_US\Scripting. You can use this to create your .h files using the #import statement.

    Once you have created .h I think that you will be able to call the methods of Indesign, of course, you will need to create an instance of the Indesign application.

    Are has some links that might be useful for you.

    http://forums.Adobe.com/message/3783210#3783210

    http://forums.Adobe.com/message/4407895#4407895

    Take a look as they discuss the issue that you are facing.

    PS: The .tlb file exists in several places in your system in order to be sure that you use the last LBR. You can search for "resources for Visual Basic.tlb", rename it, and then start Indesign (it must re-create these files that will have the latest model of the object). On Win7 launch Indesign using Admin privelages to other teas file will not be created.

    Manan Joshi

    -Effective InDesign solutions-

    MetaDesign Solutions

    http://metadesignsolutions.com/services/InDesign-development.php

  • How to create a query GREP with find a replacement

    Can someone please help with the following example of GREP, I'd be very happy.

    FIND: any line starting with a number (can be single or double figures) which could be a simple number or include 2 numbers with dashes between (i.e. "2-3")

    REPLACE: with a tab at the beginning of the line and place after the (or numbers, as mentioned above) a tab + "out of here"

    Here is the example:

    Original:

    1 cup of nuts

    10 oz of sugar

    2-3 cups of cereal

    Result:

    [tab] [tab] [indent here] of 1 cup of nuts

    sugar of oz 10 [tab] [tab] [indent here]

    2-3 [tab] [tab] [indent here] cups of cereal

    Thank you very much in advance.

    Try:

    ^((\p{N*}+-?) +) \h

    \t$1\t

    (^/)

  • How to create and assign a VLAN to specific ports

    In our ISA550W, create the VLANS for different subnets and assigning them to specific ports are a piece of cake and self explanitory.

    However on a SG300-10MP, I am totally lost lol. I just want to make ports 7 & 8 set to a sous-reseau.10 instead of un.6 as the rest of the switch. I need these ports to be totally independent from the rest and not to communicate with others at all.

    How can I do this?

    Thank you!

    Hi Alex,

    Under management of VLANS, go into settings of the interface.  Change the interfaces that you use to access the ports by choosing the way you want by clicking on change.

    Once they are access ports back to Port for page VLAN and assign the port desired as one not marked in this interface.

    This should be everything you need, let me know if you have any other questions.

    -Good Trent

    * Please note the useful messages! **

  • How to create and populate a table of specific size

    How can I write a script in a table to a specific size?

    Matt

    If you want to exactly hit the mark 5 MB or do you not care as long as you exceed 5MB?

    If all you want to do is more than 5MB create a table in the desired table space:

    CREATE TABLE big (id number, filler varchar2(1024))
    TABLESPACE your_table_space
    STORAGE (INITIAL 4M NEXT 1M);
    

    Then insert a bunch of folders:

    insert into big (select level, rpad('x', 1024, 'x') from dual connect by level <= 5*1024);
    

    That should do it.

  • Help trying to create an indesign doc page 2 1 landscape &amp; portrait 1 page?

    I'm creating a flyer A5 double face, how to create an indesign document 2 pages with one portrait of page & another landscape?

    Thanks in advance for anyone who can help you with this ;-)

    You can use the Page tool to change one, but if it will print, in my view, it would be preferable to make the two either ladscape or portrait, then use the rotation of the view spread in the Pages panel we'll appear on the other direction while work onscreen.

  • Create a link that opens a specific folder

    I wonder how to create a link that opens a specific folder on your computer? I can only find "Open a file" and "Open a web link". I use Adobe Acrobat X Pro.

    You can not.

  • How to export a .sql file, I created from Oracle Application Express of SQL Server Management 2012?

    Hello

    I was wondering if you could help me.

    I'm trying to find out how to export a .sql file, I created from Oracle Application Express of SQL Server Management 2012? I'm not very technical, but it seems that the Oracle code does not work with SQL Management Studio when I drag the file inside.

    I need the database Oracle express and its data to enter in SQL Management Studio, so any help would be much appreciated!

    Thank you.

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • How to create a rule of action to subtract from the Ips event log manager console express?

    How to create a rule of action to subtract from the Ips event log manager express console?, some unknown has a guide?

    Thank you.

    Sent by Cisco Support technique iPad App

    Hello

    http://www.Cisco.com/en/us/products/sw/secursw/ps2113/products_tech_note09186a0080bc7910.shtml

    HTH

    Luis Silva

    "If you need IDP (planning, design, implementation) assistance do not hesitate to contact us.

    http://www.Cisco.com/Web/partners/tools/pdihd.html

  • May not know how to create a repeating table to PDF forms in InDesign

    Hello!

    It's all in the title. When I have my table with my header and footer, I can't understand how to create a repeating table for all users of my PDF files interactive.

    Thank you for your help,

    Will be

    If you mean that you try to create a table with entries from forms that develops by creating new topics, I'm sorry to tell you that is not possible in InDesign. It is not yet possible in Acrobat. The only software that takes in charge who is LiveCycle ES Designer that creates some XFA forms, a type of form which becomes less support in the future.

    -Dov

  • How to create this box beveled in InDesign or Illustrator?

    I know that I used to know how to do this, but how to create this box to search beveled in InDesign or Illustrator? There must be something simple I think, but he can not know for the life of me. Thank you!Iy4r0.png

    This example with a light internal

  • Im trying to publish a document that I create on Indesign, but when I push producer Folio he takes me to the Adobe web page and tells me that I don't have a folio.  How can I fix?

    Im trying to publish a document that I create on Indesign, but when I push producer Folio he takes me to the Adobe web page and tells me that I don't have a folio.  How can I fix?

    Check if you have created a folio in offline mode (appears with the icon of the computer/processor) to Panel Builder Folio in InDesign?

    Or folio is created under a different account in Panel Builder Folio.

    If the Folio is Offline: connect on Folio Builder Panel using the producer identification information Folio, folio offline select and click Download. Now, you will get this folio in Folio Producer and would be available for the publication of too.

    For more information, see https://helpx.adobe.com/digital-publishing-suite/help/create-folios.html#folio_builder_pan el_overview

    If you are connected to the Panel Builder Folio under a different account: share folio with desired edition account, after the folio appears below the post account. Now, either you can publish or create a copy (to control properly), and then publish the copied folio. Digital Publishing Suite help | Creation of folios

  • How to create an insert of traveler medori using indesign

    can someone help me.

    My page size should be 4.33 of 8.25.

    How to create a page of this size in indesign

    File > New > Document... and set the size of the page on these dimensions.

  • How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)?

    How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)? This form will serve as an application on a Web site. The goal is to have access to anyone (interested to apply for a job via Internet), fill out and electronically sign the form on presentation.

    Please follow the steps and let me know if this helps

    1. Open the PDF in Acrobat
    2. Click on tools in the upper right > select Forms > click on edit
    3. It would ask you if you want to make changes, select Yes
    4. Then it will give you options to add a Signature field on the right side of Acrobat
    5. Add the field and save the form
  • How to create indesign using Java Script

    I am new to indesign and want to create indesign application using JavaScript.

    When I use AppleScript to create the Application Indesign I use this statement

    Tell application "Adobe InDesign CS5.5"

    myDocument to make document with the properties of the value

    tell the end

    Application InDesign create successfully.

    How to create the Application Indesign using JavaScript?

    or what is set equivalent to (tell application "Adobe InDesign CS5.5") in Java Script.

    There is a sample java script given on the forum or in the sdk. These departure example with app.

    When I debug these java script using ExtendScript ToolKit 3.6 it gives error on app (application not defined). I think that this app AI application object.

    How to create indesign application object app in javascript?

    Although this script runs successfully when I put these script in C:\Program Files\Adobe\Adobe InDesign CS5.5\Scripts

    and executing these script use the Scripts panel (choose window > utilities > Scripts), and then double-click the script name in the Scripts panel in indesign application. But in this case I have indesign application start and then choose window > utilities > Scripts, and then double-click the script name in the Scripts panel.

    I want to create Application Indesign (instance), using JavaScript.When I run or (debug) my JavaScript in any javaScript tool as ExtendScript ToolKit 3.6 then Indesign application should start, as in the Apple Script.

    Thank you

    long story short... NO!

    However, if you run the script from ESTK, you need not copy the script in the folder "Scripts". Do not know exactly if that's what you want.

Maybe you are looking for