Formatting of every other sentence with GREP

Hey gang

Maybe can you help with this:

I want to apply a character style to all the other sentences in a very long paragraph. I figured out how to isolate a single sentence:

( ? < = \.\s)\u.+\. ?

However, I'm not quite fluent with GREP to find out how to tell it to skip all the other sentences. I feel I'm missing something super clear here. any help is very appreciated.

Thank you!

~ R

It seems that by "one sentence" you mean: begin with capital letter and always ends up by '. '? "

If so, it's OK: (?<> )

Tags: InDesign

Similar Questions

  • Help with GREP and number formatting, deletion of the brackets. I'm halfway there!

    Hello, I need to format a ton of numbers (#) phone #-# to #-#-#. I have the research work:

    (\(\d{3}\) [] \d{3})

    But I can't understand how to make the change... can someone please help me with the ' put in place: "entry?

    Thank you!

    You can use the query already defined in the drop-down list that allows you to convert the format in brackets for a point and in the change field format to replace the dots with-, for $1 - $ 2 - $3

  • Help with GREP

    Hello world!

    I need assistance with grep style.

    I want to apply a character with "BOLD" for each text style, in a specific paragraph style, Reed media before uppercase.

    For example:

    -Za ispušta proizvod u CIJEV ZA OBLIKOVANJE vaganje Sustav (1)...

    Must be:

    -Za ispušta proizvod u CIJEV ZA OBLIKOVANJE vaganje Sustav (1)...

    Can someone help me?

    Try this one: find \u[\x20\u]+? ( ? =\()

    In other words,.

    \u followed by capital

    [\x20\u]+ one or more space (\x20) or a capital]

    (? = \x20\ () followed by a space and an open parenthesis - but don't capture the spece and the parenthesis)

    In the format change Panel, set "BOLD".

    Peter

  • Other devices with yellow! and cannot connect to internet after reformatting

    I reformatted my gateway with the original XP disc. Now the multimedia audio controller is missing and there are several "other devices" with yellow! I tried to update the drivers on the site of the bridge for this model, but it's still a mess, and I can't connect to the net!

    Hi BrianFiles,

    If you have reinstalled Windows XP after formatting the hard drive, then you will need to install all the necessary drivers on the computer for devices work correctly.

    You can try to search for hardware changes in Device Manager and later proceed to reinstalling the driver.

    1. Click Startand then click run.
    2. Type devmgmt.msc , and then click OK.
    3. In Device Manager, click on your computer so that it appears highlighted.
    4. Click Action, and then click find the hardware changes.

    I suggest that you download from the site of the Bridge and save all necessary drivers on the hard drive and then try to install the drivers, check if it helps.

    Also reinstall the drivers for the chipset on the site of the bridge.

    If you still cannot get sound on the computer then go to the link below and run the troubleshooter available, check if it helps.

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    How to troubleshoot unknown devices listed in Device Manager in Windows XP
    http://support.Microsoft.com/kb/314464

    Troubleshooting of conflict of devices with Device Manager
    http://support.Microsoft.com/kb/310126

  • All-in-one Officejet Pro 8610: print only every other envelope

    The printer ignores the other each envelope.

    Any suggestions?

    Thank you

    Mark

    Hello @Markb60000,

    Welcome to the Forums of HP Support!

    I understand that your HP Officejet Pro 8610 e-all-in-one printer has problems when printing envelopes from your Windows 7 computer, as every other envelope seems to be ignored during the printing process. I would like to help you today with this problem to print the envelope. Now, the first thing I did after reviewing your post has been watching the media specifications for your specific HP Officejet. Just to let you know, the specifications of following envelopes are supported:

    • Envelope weight and loading capacity in Tray 1 of your printer are as follows:

    • The following envelope sizes are supported:

    As long as you are printing on an envelope which is in the specific size and weight restrictions for your product, you shouldn't have any problem loading up to 30 envelopes in your bin at some point.

    To confirm that your envelopes are loaded properly can I please have you click here. Once the support document opens click the drop down menu to "loading envelopes. Please check to confirm that you load the envelopes correctly in your paper tray.

    • If your envelope printing problem persists after checking that your type of envelope is justified and that they are loaded correctly, can you please specify what type of program you use on your Windows 7 computer to print envelopes of.

    Please reply to this message with the result of your troubleshooting. I look forward to hear from you!

  • Windows Media Center in Vista Home Premium must be restarted every other time I start a video

    Every other time that I select a recorded program to watch, Windows Media Center gives me a message that the drivers are not installed or loaded properly and I need to restart Windows Media Center.  What is happening with this?  I am running Windows Vista Home Premium version and keep my computer up-to-date.

    Hello
     
    There is no option to download the system files.
     
    If scan sfc does not resolve the files, you can follow the rest of the troubleshooting steps in the article to fix corrupt files: http://support.microsoft.com/default.aspx/kb/929833
     
    Try the steps and check the result.
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.
  • Eclipse fails to package the project every other time I try to run BlackBerry Simulator

    I have a simple project that I've set up using the SDK 7.1 BlackBerry, it has no external dependencies.

    Almost without fail, every other time I hit him "run on BlackBerry Simulator' I get an error similar to the following:

    Packaging project BlackBerryApplication
    C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\7.1.0\BlackBerryApplication -sourceroot=D:\Git\BlackBerry Application\BlackBerryApplication\src;D:\Git\BlackBerry Application\BlackBerryApplication\res;D:\Git\BlackBerry Application\BlackBerryApplication -import=C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\lib\net_rim_api.jar deliverables\Standard\7.1.0\BlackBerryApplication.rapc D:\Git\BlackBerry Application\BlackBerryApplication\bin
    JAR file creation failed with error -1
    The preverified classes if any are in tmp28761. See jar log of errors in C:\Users\t_gibson\AppData\Local\Temp\rapc_71af6d24.dir\jarlog.txt
    Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ...
    Packaging project BlackBerryApplication failed (took 0.584 seconds)
    

    No matter if I clean up project or own Simulator I still get the same error another each compilation. Does anyone have an idea what could cause this? If I type "run on a BlackBerry Simulator" right after the error, it works fine.

    I use the 9900 with Eclipse 3.7.2 and BlackBerry 7.1.0.10 SDK Simulator. The plug-in version is 2.0.0.201207181003.

    Thank you!

    EDIT: I should clarify that when I say that the cleanup project makes no difference, what I mean is that cleaning of the project once the means it compiles OK next time, but unless he is cleaned after the first compilation, again a second time the compilation will fail. If although the project before each compilation of cleaning could cause it to compile every time, this does not solve the problem that it is there always something left in an inconsistent state after a successful compilation.

    I have determined that the source of the problem was a bad setting in the project configuration that I did when I created the project, I added wrong file the project root to the source compilation path option on folders. The error in the line of rapc.exe is highlighted below

    Packaging project BlackBerryApplication
    C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\7.1.0\BlackBerryApplication -sourceroot=D:\Git\BlackBerry Application\BlackBerryApplication\src;D:\Git\BlackBerry Application\BlackBerryApplication\res;D:\Git\BlackBerry Application\BlackBerryApplication -import=C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\lib\net_rim_api.jar deliverables\Standard\7.1.0\BlackBerryApplication.rapc D:\Git\BlackBerry Application\BlackBerryApplication\bin
    JAR file creation failed with error -1
    The preverified classes if any are in tmp28761. See jar log of errors in C:\Users\t_gibson\AppData\Local\Temp\rapc_71af6d24.dir\jarlog.txt
    Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ...
    Packaging project BlackBerryApplication failed (took 0.584 seconds)
    
  • find the percent with grep sign

    Hello. I know it must be simple, but I can't seem to find it: how to find the percent with grep sign? Or % or -% nor [%] seem to do.

    Thank you

    There is nothing in particular the % sign: you should be able to find it by using one of the three methods you have tried. Have a good overview of the control panel search/replace. Don't find it what domain contain only the %? No space lurking here? It is on a locked layer? You have a style of paragraph or character set in the Panel "Find format '?

    Peter

  • JavaScript question - accept user input and use them in other areas with case changed (i.e. in a field to uppercase and the other as capatilsed each)

    Hi ther,.

    Ive been away from Livecucle for quite awhile and I lost a handle on coding.

    I am tyring to get the data from that paid to be repeated also in two other areas with different formatting (in capital letters and capatilise each word)

    Therefore, if the user enters "james smith michael" in a named filed - say - fullanme - she could also be replicated in a fullnameCaps file - changed to uppercase in this area (i.e: JAMES MICHAEL SMITH) and - class fullnameCapsEach get out of James Michael Smith

    the other fields will be just hidden.

    I remembered hot change the entry to the ceilings in the entry field - xfa.event.change = xfa.event.change.toUpperCase () - but that only works in the entry field of course.

    I tried to set the fullnameCaps and the fullnameCapsEach to equal the rawvalue of the entry fullanme field and put the code of change in them - but that doesn't seem to be the answer!

    Someone out there you have nay of ideas?

    see you soon

    Hello

    Try this solution in the event of change of your input field:

    var str = xfa.event.newText, capsAll, capsFirst;
    
      capsAll = str.toUpperCase();
      capsFirst = str.toLowerCase().replace(/([^a-z]|^)([a-z])(?=[a-z]{1})/g, function(_, g1, g2) {
        return g1 + g2.toUpperCase();
        });
    
    fullnameCaps.rawValue = capsAll;
    fullnameCapsEach.rawValue = capsFirst;
    
  • Help with GREP search and replace

    I've never used grep before and I'm stumped.  I have a document that lists the times for different classes.  Times are variously listed as 9-10, 9-10, 9-10 or 9-10, to get examples.  The problem is that there may be no space or a space on the left or the right of the hyphen.  I want it all the time as 10:30 - 11:30, for example.  In other words, the link must have a space on each side of it.  I think that this could be accomplished with GREP search and replace, but I don't understand the syntax well enough to make it work.

    Can someone tell me how to write the search and replace expressions?  (Of course the real time could be any hours).

    Thank you!

    It is tempting to add spaces of * all numbers separated by a dash. If you don't know all time have some minutes, then it is safer to use this:

    (?<=:\d\d)>

    .. Replace with space hyphen space.

    He seeks the "settler, any digit, any digit" (which is * found * not * included *), followed by 'optional of a space, a hyphen, optional space' and must be followed by 'any number' (again, not counting this one). Since the figures before and after are * found * not * included *-which is due to the (? xxx) syntax - all that needs to be replaced is the dashboard itself. Making the space before and after the optional dashboard (using a single "?" immediately after each), no matter if it * is * a space or not, all the combinations will be found and replaced.

  • When I zoomed in on a website, the other tabs with the same zoom area too; is there a way to disable the page Web site global zoom?

    When I zoomed in on a website, the other tabs with the same zoom area too; is there a way to disable the page Web site global zoom?

    You can change the zoom to be specific tab instead of in-situ.

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste the zoom and make a pause so that the list is filtered

    (3) double-click the preference browser.zoom.siteSpecific from true to false.

  • Firefox Help my firefox top bar has been changed, I used to be able to get the file to bookmarks Format printed, and other services that I have found useful when you take information from the internet, where they went, I want them back?

    Firefox help

       Search
    

    "Found 0 results for" my firefox top bar has been changed, I used to be able to get the bookmarks printed Format file, and other services that I have found useful when taking information from the internet, I found bookmarks to the right of the new game to the top, but it seems not instantly friendly where they went, I want that they come back? »

    See:

  • I can not locate other vehicles with GM Dealerworld Firefox but I can't on explore

    I'm not able to locate other vehicles with GM dealerworld Firefox but I'm able to explore

    URL of affected sites

    http://gmdealerconnect

    Your link did not work. Please post the correct link.

  • Why my iphone of name may be exposed in any other device with another identifier apple?

    Why my iphone name can be exposed in any other device with another identifier apple

    How can I remove that?

    MIC

    The name of the phone has nothing to do with the Apple ID and can be modified in what by:

    Settings > general > about > name >

  • My MSN account was blocked and the other recorded with her email address is no longer active so I can't get a verification code.

    My msn account was blocked and the other recorded with her email address is no longer active so I can't get a verification code. What should I do?

    Hi Harryjenkins,

    I suggest you to contact MSN support for assistance on this issue:

    How to contact MSN customer service

    http://support.Microsoft.com/kb/940784

    You can also visit the site mentioned below and check if it helps:

    http://windowslivehelp.com/solution.aspx?SolutionID=283b059b-d26d-41f9-ae3d-03a07afcb4ad

     

    I hope this helps.

Maybe you are looking for

  • FIREFOX tells me that my module is incompatible when I KNOW that it works

    The latest outrage with Firefox is that after upgrading to 20.0.1, despite the fact I was told also that StrataStripe 3.3 is incompatible. I rebooted 19.0.1 where he previously worked, but it was too "incompatible". I went back to version 18.0.1 with

  • delete the album

    How to remove an album? The Help menu is said to select the album, go to Image > delete Album. There is no 'delete Album' under 'Image', or anywhere else. Alternatively, it says press the button Delete. Is not doing.

  • Print screen does not work

    I press Alt + prt scr, yet nothing happens.  Many moons ago, I had the same problem, and of course, I don't know how to correct it.  So if there is anyone here who knows the answer, I'd be happy to hear it.  I have a Pavilion A700y - 2 PU063AV using

  • Had a call saying I have errors on my computer - is my computer at risk?

    Someone called and said that I had errors on my computer. They asked me to open the Run dialog box. They say they have identified my laptop on the CSID number (whatever it is). Asked me to open the boxes to confirm what I did until they told me to ty

  • I want to play chess on yahoo

    He tells me that I have to download Adobe Flash Player 7.  I tried to put my computer is telling me that my security settings do not allow this.  What security settings allow to download Adobe so I can turn them off?