How can I add a style "BOLD" grep on the first occurrence of a Word?

Hi all

I need help on adding a style "BOLD" grep on the first occurrence of a Word.

I can add the "BOLD" to the word, but it adds to all occurrences, see below:

GREP style (Incorrect)

Apply Style: "BOLD"

Text: \ < Lorem Ipsum\ >

Nam Lorem Ipsum semper pellentesque tincidunt. UT nisi sit amet arcu nulla tristique dictum. SED commodo total non mauris cursus pretium. Lorem Ipsum Aliquam erat volutpat. Morbi id pretium justo. Nam lorem quis facilisis molestie risus fermentum. Vestibule ut sem elit. Nunc eget neque Sed elementum augue EU outbound.

I need only the "BOLD" to add to the first occurrence of the word, as below:

Nam Lorem Ipsum semper pellentesque tincidunt. UT nisi sit amet arcu nulla tristique dictum. SED commodo total non mauris cursus pretium. Lorem Ipsum Aliquam erat volutpat. Morbi id pretium justo. Nam lorem quis facilisis molestie risus fermentum. Vestibule ut sem elit. Nunc eget neque Sed elementum augue EU outbound.


Thanks in advance for the help!

This should do it for you

Apply style

"BOLD"

text (? i) ^(.+?) Lorem Ipsum

apply the stye

Book

text: ^. * ? (? = Lorem Ipsum)

The first expression search all the text from the beginning of the parapgrah through the Lorem Ipsum

The other defines the rest of the text before the Lorem Ipsum to the base style (book, novel, or whatever your basic style)

Tags: InDesign

Similar Questions

  • How can I add css style to all elements within a symbol.

    How can I add css style to all elements within a symbol.

    For example.

    If I have a call symbol "data" and in this context, I have 4 elements called 1,2,3,4 How can I add a style to all of these without having to re - write the code for each item.

    I know that I can style a symbol called "data":

    sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
    
    

    ... But this style not content items 1,2,3 and 4

    If I was using the standard HTML and CSS then all the div in a div named "data" would be will be the same.

    help to "my friends of the code.

    Hi Justin,

    (1) you have an error in syntax here: sym. $("données") .css ("font family", "baumans, sans", "-font size", "15px");

    SYM. $("données") .css ({"font family": "baumans, sans", "-font size": "15px"}); / / OK

    SYM. $("données") .css ('police', ' 15px baumans, without serif '); //correct


    (2) then, loading the jQuery file is not necessary. You can create a class or change the tags.

    • How to add a class:

    • Change the tags:

    You have 2 demo files (edge 5.0) here: class or tag.zip - Box


  • How can I add text on a picture in the photo gallery

    How can I add text on a picture in the photo gallery? I have photos I want to add text on a project I'm doing. I can do this through Windows Photo Gallery? I have to open the pictures on another program to do this? If so, is anyone know what program (s) would be that this is possible?

    Thank you for your help and ideas

    How can I add text on a picture in the photo gallery? I have photos I want to add text on a project I'm doing. I can do this through Windows Photo Gallery? I have to open the pictures on another program to do this? If so, is anyone know what program (s) would be that this is possible?

    Thank you for your help and ideas

    ===================================
    Photo Gallery doesn't have an option to add a
    text on the face of a photo.

    You can add text with Microsoft Paint:

    Add text to a picture with Windows Paint
    http://www.pcdon.com/deAddingTexttoaPhoto.html

    And... I agree with sohail khan... Picasa is a very
    useful application:

    The free Picasa software has several options for adding
    text of photos.

    (FWIW... it is always a good idea to create
    a system before you install restore point
    software or updates)

    Picasa
    http://Picasa.Google.com/
    (you can uncheck some of)
    the options on the final installation screen)

    After you download and install Picasa...
    Open the program and double left click
    an image to open the editing functions.

    To add text to the front of the photo...
    choose... Simple retouching / text button...

    Picasa - features "Retouching": crop, add text, editing
    http://support.Google.com/Picasa/bin/answer.py?hl=en&answer=93403

    Picasa - printing text and borders with photos
    http://support.Google.com/Picasa/answer/106191?hl=en

  • How can I add narration on my project to the Director of windows with background instrumental music?

    How can I add narration on my project to the Director of windows with background instrumental music?

    Hi penny of Jaycee.

    You can see the following link to add the music to the narration. Make sure you import music files that are supported by Windows Movie Maker.

    Add music to your movie

    For more information, you can consult the following link:

    Add narration to your movie

    Hope this information is useful.

  • How can I add Lightroom to another account on the same computer mac user?

    How can I add Lightroom to another account on the same computer mac user?

    If you have installed normally he is already there. Simply go to the folder applications and double up until it clicks.

  • How can I add a custom coding to change the appearance of the "add to cart" and "view cart" paypal

    How can I add a custom coding to change the appearance of the "add to cart" and "view cart" paypal?  I can do these buttons on muse, or should I make them on Illustrator?

    Hello

    Here is some info:

    PayPal API developer - product page of Button Manager - classic

  • When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    When I send a text message and mobile data are off, it is not given, but I do not see this message for a few minutes. I can then refer using "send as a text message. How can I 'send as a text message' in the first place?

    Disable the iMessage?

  • I installed ux 16 driver Windows 7 my pc but nothing displays, no .so tracks what is wrong with it please suggest.or how can I do this by using midi for the first time.

    I installed driver ux 16 in my widows 7 and connected to my pc but nothing displays, no .so tracks what is wrong with it please suggest.or how can I do this by using midi for the first time.

    In the subject line, type a brief description of your problem or your question. A subject line that says only "Hi alll" not will receive the attention of someone who can be familiar with your particular situation.

    Contact the support of Yamaha.

  • How can I add HP Photosmart C6380 printer in the HP Solution Center?

    For some reason, the HP Photosmart C6380 all-in-One printer has disappeared since the HP Solution Center, if I can do is no longer any proper alignment, cleaning, etc. How can I add the HP Photosmart C6380 printer in the HP Solution Center?

    Thank you.

    Disconnect the printer, uninstall the HP software through programs & features, reboot, then install HP full feature software for HP, specific to your version of bit of victory and linking only when prompted

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4062&LC=en&cc=UK&DLC=en&sw_lang=&product=3560280#n193

  • How can I add fonts, which are not in the Adobe Typekit?

    I want to add (for example TheSans) fonts in InDesign - but they are not in the Adobe Typekit.

    How can I add them?

    I tried to add them to my pc and tried to add them directly into the folder "fonts" in my adobe InDesign folder. But they are not yet available in InDesign.

    Help, please!

    Policies are managed by your operating system. Use the control panel of the system on Windows or the Fontbook on Mac utility.

    Mylenium

  • How can I add music to my itunes for the slide show I created in Photoshop 5.0.  I followed the steps carefully, but nothing happens.

    I have Adobe Photoshop 5.0 and use all the time so decided to make my first slideshow. I want to add music from my itune library which is on the same pc.  When I click on 'Add media' I have 2 choices: add audio to audio file Organizer or Ad.  I can only add music organizer sample (I don't know how to get my music in to the Organizer) or music sample of music from my PC folder.  He won't get the music in my iTunes library.  I created a nice slide show, but it's nothing without the music. Can someone help me?

    I think that your problem is more on getting the audio as an MP3 or WAV file from iTunes, only a problem with Photoshop.  Are these songs you download from the iTunes store?

    This might help, but I guess your problem to a certain extent

    https://support.Apple.com/en-NZ/HT204310

    If you use Windows, then your music folder should contain some sample tunes.  Try practicing with one of those starting with

  • How can I add an effect of light with the code box and the javascript to a Web of Muse site?

    I have a finished site that I built in Muse. On one of the pages, I would like to add a light box effect, but none of the widgets that Muse. I wonder if someone can tell me how to go and add code and java script. I have the code and everything, I just need to figure out how to add in the code before I publish it online. Can someone help me?

    You insert the HTML Manual.

    Mylenium

  • How can I add a video iPhone portrait on the right with text on the left?

    Hello

    I'm new to the premier pro and I have had a look online but can't find the instructions on adding a video portrait on the right with text on the left. I found information on add a title on top and using blending modes, but how can I move the iPhone video portrait to the right of the screen to maintain the proportion of the landscape?

    Thank you

    Jess

    Basically, you use the motion in the effect controls panel effect, specifically the balance and Position. The next page has links to video tutorials both on photo in photo workflows:

    Adobe Premiere Pro help. Create common results

  • How can I add custom toolbar buttons to load the different TOCs?

    In my outings WebHelp, I want to have some custom buttons on the toolbar that when clicked load a table of specific contents in the left navigation pane. For example, when the user clicks the button on PC, the table of contents PC load in the left pane. When the user clicks the button on the virtual machine, TOC VM load in the left pane. All help files are managed in a single project and some files will appear in both tables of contents.

    I think that this should be possible, but do not know how to get there. Is it JavaScript that I should add to the element of custom toolbar to the table of contents of load on a click? How can I specify the table of contents I want to display for each button?

    BTW - I use RoboHelp 8 (version 8.0.2) to generate WebHelp output. Thank you in advance for your help!

    Hello

    If you were to upgrade to RoboHelp 9 it would simplify your question. Version 9 offers a new feature called content dynamic (DUCC) user-centric and offers a nice little drop-down selector in the mini-bar of Navigation Tools.

    As you are in version 8, the only way I can understand you it would handle is by generating two different outputs. Each output would use his respective OCD. In each project toolbar button can be configured to open the other project.

    You could report first having to manage two exits and all files. But if you take part DUCC and the way in which it is set by Adobe, it works the same way. It's just hidden from your initial view.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • How can I add a transition without eating in the length of the clip.

    I have a newer iMac with iMovie 10.1.2 and OS 10.11.6.  I would like to add transitions, but they eat in the length of each side of the transition of 2.0 seconds.  Is it possible to add transitions without eating in the length of the clip.  In old iMac with the internal CD, before Apple "upgraded" iMovie, you could add transitions without affecting the duration of the clip.  When a large part of my project, composed of clips 6-8 seconds of time, waive the duration of the clip to make a presentation more chic does not seem an option.

    For a transition to build to use incoming and outgoing clip media. We call these handles. It has always been like that. Most people leave a few seconds out of their clips when adding to the timeline. With clips you just save a second at each end, and you can create a second 1 transition or the precision Editor to set the duration of the transition. A point to note is that this does not apply to photos that they automatically of the handles. Your transition that uses 2 seconds of your clips is a second transition 2. If you use the full clip in the timeline and add a transition, iMovie will warn you that it would take the clips to make the transition.

Maybe you are looking for

  • I need to swap a hard drive to retrieve data (one once the exercise)

    Hello I have an old m10560y of HP Media Center PC with a PJ751AV 160 G hard drive SATA 7200 RPM, which I removed because the motherboard is damaged. I was running Win XP on this machine.  I only need to recover data from this drive... not going to us

  • HP Pavilion Elite HPE-510 t CTO desktop

    I get to reboot: 1720 SMART Hard Drive detects imminent failure Lack of driver-SATA 1 Attribute defaulting #05 Can someone help / tell me how to solve this problem, thanks

  • copy calibration data

    Is it possible to copy the data from claibration from VI to another or a DAQ Assistant to another? I have calibrated pressure in separate Vi sensors and now want to create a handset. While the scales are calibrations are not. However has no way to in

  • Scam or for real?

    I received a phone call from someone claiming to be a Windows IT person. He said that they had received many messages of error in my computer. He said that he was afraid that I had a type of virus that affected my motherboard and I would please on my

  • my wireless keyboard does not work on the letter and number keys.

    It seems to be connected to the computer, because it does not work on the control button and snooze sound